Copying files to the root directory

Infoman2.0 Posted messages 183 Status Membre -  
Infoman2.0 Posted messages 183 Status Membre -
Hello,
I'm currently trying to install a persistent live USB on a USB stick and the info page says:

For our USB stick

We assume that the USB stick is formatted in fat (fat16 or 32) and that it contains the live installation of (k)(x)ubuntu (see installation from_a_usb_stick).

*
approximately 700MB are taken by the live USB system (less for xubuntu)
*
so we will create a file of 250MB

dd if=/dev/zero of=/media/usbStick/casper-rw bs=1M count=250

if the USB stick is mounted in the folder /media/usbStick/

mkfs.ext2 -L casper-rw /media/usbStick/casper-rw

or

mkfs.ext3 -L casper-rw /media/usbStick/casper-rw

Answer "yes" to the question.
Installation of the base system

*
Mount the iso image of the version of Ubuntu you want (gutsy for example) using gmount-iso
*
Mount the partitions of your USB stick (unplug and then plug back in your stick) This may cause a sudden change in naming (from sdb to sdc).
*
Open the directory of your mounted iso and make hidden files visible (ctrl + H in nautilus)
*
In the FAT32 partition (to recognize it, it is totally empty, the one in ext2 is not) copy all the content of the iso image except the isolinux folder (it's not a problem if you get error messages, just click Ignore)
*
In the iso image open the isolinux folder and copy all its content to the root of the FAT32 partition
*
In the iso image open the casper folder and copy the files vmlinuz and initrd.gz to the root of the FAT32 partition

But I don't know how to copy to the root. How do I do that?

Sam
Configuration: Linux Firefox 2.0.0.6

12 réponses

Infoman2.0 Posted messages 183 Status Membre 9
 
yes but I can't find it
1