My system: Debian 6.04, sda is working disk, sdb is my USB disk.
I installed Debian onto the USB drive this way, to edit grub file on sda,
nano /boot/grub/grub.cfg to add the new lines
menuentry 'Debian 6.0 from hard disk to install into usb' {
set isofile="(hd0,6)/debian.iso"
loopback loop $isofile
linux (hd0,6)/vmlinuz
initrd (hd0,6)/initrd.gz
}
where the vmlinuz and initrid.gz is from ftp.debian.org/debian/dists/testing/main/installer-i386/current/images/hd-media/,
and the debian.iso is from http://www.debian.org/distrib/netinst.
When I now reboot, I can go into install UI, to finish my installation on USB.
The problem is: my USB is 4GB, the iso image is only 46MB -- but it uses 3GB to install, so there is so little space left, which is strange, since the iso is only 46MB...?
How can I cut down the installed space?
