Bootable USB using GRUB

I have successfully boot Linux (Damn Small Linux) from my USB stick (iPod shuffle). I'm using GRUB boot loader instead of SYSLINUX, because more advanced features in GRUB.


0
Copy required *stage* to /mnt/ipod/boot/grub and setup /mnt/ipod/boot/grub/menu.lst
Contents of my menu.lst:

color magenta/blue black/magenta

timeout 50

default 0

title Linux

kernel (hd0,0)/boot/linux24 ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 nomce noapic quiet BOOT_IMAGE=knoppix

initrd (hd0,0)/boot/minirt24.gz


These are the tricky steps:

1
grub-install --root-directory=/mnt/ipod --recheck /dev/sda

2
vi /mnt/ipod/boot/grub/device.map
Change the contents to:

(fd0) /dev/fd0

(hd0) /dev/sda

3
grub-install --root-directory=/mnt/ipod /dev/sda

4
grub-install --root-directory=/mnt/ipod /dev/sda1




NOTES:
change /mnt/ipod to your usb mount point
change /dev/sda to /dev/sdb if detected as sdb

Comments

0 said…
This comment has been removed by a blog administrator.
5 said…
This comment has been removed by a blog administrator.
4 said…
This comment has been removed by a blog administrator.
Ben said…
Help! I can't mount my Ipod Shuffle anymore!
mount says it can't read superblock. What does this mean and what can I do?
Superbiji said…
Restore your firmware using ipod updater
before that make sure ipod mounted to E:
(probably cdrom using drive E:)
Anonymous said…
Who knows where to download XRumer 5.0 Palladium?
Help, please. All recommend this program to effectively advertise on the Internet, this is the best program!

Popular posts from this blog

Tips Jika Mobil Anda Habis Bensin LOL!

Setting open office u label tom & jerry