Grub installation
From EcoTux
[edit]
Howto install Grub in a compact flash
- Install the packet "grub" in your system. In Debian, for example,
apt-get install grub
- Prepare your CF (formatted with ext2 or ext3) and copy your system in.
- Assume your CF is /dev/sdb and is mounted on /media/cf.
- Install GRUB on the CF
sudo rm -f /media/cf/boot/grub/device.map (if it exists) sudo grub-install --root-directory=/media/cf /dev/sdb
- Check /media/cf/boot/grub/device.map, it should look like:
(hd0) /dev/hda
- Create /media/cf/boot/grub/menu.lst, for example
- Note that grub will see the CF as
/dev/hda, but the system will use a different name:
| EcoTux Senior | /dev/hdd
|
| EcoTux Midi | /dev/hdb
|
| EcoTux Junior | /dev/hda
|
| EcoTux Junior w/serial ports | /dev/hdb
|
default 0 timeout 2 title "EcoTux Senior" root (hd0,0) kernel /vmlinuz root=/dev/hdd1 vga=769 initrd /initrd.img savedefault boot title "EcoTux Midi or Junior w serial ports" root (hd0,0) kernel /vmlinuz root=/dev/hdb1 vga=769 initrd /initrd.img savedefault boot title "EcoTux Junior wo serial ports" root (hd0,0) kernel /vmlinuz root=/dev/hda1 vga=769 initrd /initrd.img savedefault boot title "EcoTux Senior Init Splash" # e.g. for Kubuntu root (hd0,0) kernel /vmlinuz root=/dev/hdd1 ro quiet splash initrd /initrd.img quiet savedefault boot title "EcoTux Midi Init Splash" # e.g. for Kubuntu root (hd0,0) kernel /vmlinuz root=/dev/hdb1 ro quiet splash initrd /initrd.img quiet savedefault boot
- Umount the CF
- Enjoy your system!
| 640x480 | 800x600 | 1024x768 | ||
|---|---|---|---|---|
| 256 | 769 | 771 | 773 | 8 |
| 32k | 784 | 787 | 790 | 15 |
| 64k | 785 | 788 | 791 | 16 |
| 16M | 786 | 789 | 792 | 24 |
[edit]

