|
I want to make a linux booted from a USB flash drive, and follow the steps above:
Create initrd.img file
# mkdir -p /mnt/initrd
# cd /tmp
# mkinitrd /tmp/initrd.gz 2.6.18
2. Unzip the initrd.img file and modify the startup script linuxrc
# gunzip initrd.gz
# mount -o loop /tmp/initrd /mnt/initrd
At this step it will appear: mount: you must specify the filesystem type
How to specify the file system can not be mounted,
I also tried to generate 2.6.18.img file,
Then mv 2.6.18.img 2.6.18.gz
Then use gunzip to decompress, but it won't work.
What is it going to do? |
|