Results 1 to 3 of 3
Hi all,
i am trying to install GRUB to my compact flash. but i have some problem.
i am following these instruction:
http://julian.coccia.com/blog/index.php?m=200309&more=1
but i even fail in the first ...
- 10-27-2006 #1Just Joined!
- Join Date
- Oct 2006
- Posts
- 30
grub on compact flash
Hi all,
i am trying to install GRUB to my compact flash. but i have some problem.
i am following these instruction:
http://julian.coccia.com/blog/index.php?m=200309&more=1
but i even fail in the first step
so i have grub 0.97 on my laptop.
the this is my partition:Code:#grub --version grub (GNU GRUB 0.97)
it can be seen that my CF car is at /dev/sdb1Code:#fdisk -l Disk /dev/sda: 80.0 GB, 80026361856 bytes 255 heads, 63 sectors/track, 9729 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 4629 37182411 7 HPFS/NTFS /dev/sda2 4630 9729 40965750 f W95 Ext'd (LBA) /dev/sda5 4630 5904 10241406 7 HPFS/NTFS /dev/sda6 5905 6096 1542208+ 82 Linux swap / Solaris /dev/sda7 6097 7246 9237343+ 83 Linux /dev/sda8 7247 9729 19944666 83 Linux Disk /dev/sdb: 523 MB, 523321344 bytes 255 heads, 63 sectors/track, 63 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sdb1 1 62 497983+ 83 Linux
so the frist question is, i should install GRUB to /dev/sdb1 instead of /dev/sdb right?
then i read the
about the naming convention. so for my CF it should be hd1,0 -> refering to /dev/sdb1 (first partition of 2nd IDE drive)Code:#info grub
but why in the grub console, it is not recognized:
any idea to install GRUB on the CF?Code:grub> root (hd1,0) Error 21: Selected disk does not exist
thanks
- 10-27-2006 #2
add an entry for second disk (CF) in /boot/grub/device.map file.
contents of device.map file
(hd0) /dev/sda
add one more line
Code:(hd1) /dev/sdb
casperIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 10-27-2006 #3Just Joined!
- Join Date
- Oct 2006
- Posts
- 30
thanks.. it works


Reply With Quote
