|
|
||||||||||||||
|
|
How to make a 2.88Meg Boot-CD with GRUB There is a description from Mohamed Kamil Nizam Mansor on 08-July-2002. Find it here: http://linux-sxs.org/grubcdboot.html
This document is an updated version with some enhancements:
1. create an image file using dd with size 2.88Mb
# dd if=/dev/zero of=/tmp/cdboot.288 bs=1k count=2880
2. get associate with loop device (my case, I using /dev/loop1)
# losetup /dev/loop1 /tmp/cdboot.288
3. create msdos file system
# mkfs -V -t msdos /dev/loop1
4. mount the image file (I use /mnt as mountpoint)
# mount /dev/loop1 /mnt
5. Copy grub's files into the image
# mkdir /mnt/boot
6. Copy kernel and initrd into the image (add more files as needed)
# cd /boot
7. Edit the menu-file, insert something like:
# vi /mnt/boot/grub/menu.lst
8. Install grub in the image (umount /mnt first!)
# grub (Start the grub shell, then enter:)
device (fd0) /dev/loop1
9. Don't forget to divorce the loop-Device:
# losetup -d /dev/loop1
9. Write the image to a CD, for example with mkisofs & cdrecord: (have to insert the correct dev=?,?,? with cdrecord)
# mkdir /tmp/mycd
Letzter Update: Tue Jul 01 14:24:24 CEST 2003
Copyright (c) 2002 Reinhard Moosauer IT Beratung, D-84028 Landshut. |
|
||||||||||||
|
|
||||||||||||||
|
|
||||||||||||||
|
|
||||||||||||||
|
|
||||||||||||||
|
|
||||||||||||||
|
||||||||||||||
|
|
||||||||||||||