Page 1 of 1

bootnow under centos 6.5

Posted: Tue Dec 31, 2013 2:23 pm
by zephyr98
trying to put up bootnow under centos. not clear on instructions. the drvmap.inf info says to map / to device to boot bios. in my case root is on /dev/sdf3 and its sata. under drvmap.inf i have 80=/dev/sdf3

when i try anything (bootnow /None, bootnow 2, all i get is an unable to open device.

works perfectly fine under xp/ vista etc. i have bootnow on the path, permissions 755, drvmap.inf located with bootnow.

two questions. 1= what is the 80 all about in devmap.inf. ie, where do i see a list of bios drive numbers. and 2, what do i need to do to get it to work

Re: bootnow under centos 6.5

Posted: Tue Dec 31, 2013 4:37 pm
by TeraByte Support(PP)
Are you running bootnow as the superuser?

Re: bootnow under centos 6.5

Posted: Tue Dec 31, 2013 5:12 pm
by TeraByte Support(TP)
zephyr98 wrote:
> trying to put up bootnow under centos. not clear on instructions. the
> drvmap.inf info says to map / to device to boot bios. in my case root is on
> /dev/sdf3 and its sata. under drvmap.inf i have 80=/dev/sdf3
>
> when i try anything (bootnow /None, bootnow 2, all i get is an unable to
> open device.
>
> works perfectly fine under xp/ vista etc. i have bootnow on the path,
> permissions 755, drvmap.inf located with bootnow.
>
> two questions. 1= what is the 80 all about in devmap.inf. ie, where do i
> see a list of bios drive numbers. and 2, what do i need to do to get it to
> work

Also, you need to have a line like this in the file drvmap.inf:
80=/dev/sdX

...where /dev/sdX is the Linux drive that BIBM sees as hd0. Usually that will be /dev/sda, so the line would read:
80=/dev/sda

If that line doesn't work, the file /boot/grub/device.map may help determine the correct drive. You can type 'cat /boot/grub/device.map' to see the contents of that file. You can also use the command 'fdisk -l' to list all partitions on all drives, and then identify which drive is hd0 in BIBM based on the partitions you know are on that drive.

Re: bootnow under centos 6.5

Posted: Tue Dec 31, 2013 7:20 pm
by zephyr98
using the drive from the mount of / was the answer. (is used 80=/dev/sdf). using grubs device map did not work for me since i use the swap feature and thus hd0=/dev/sda.
too bad bootnow does not use the same file name as the win version (bootnow.inf). also, it sould include a default inf with at most the dev line commented out (ie. #80=/dev/sda). maybe an extra line or two of comment in the file would help. ie. making '80' a magic label for hd does not work for poor heads like mine).
ex: #point this to the host boot device /dev/sda, /dev/sdb etc.
anyway. now it works. and works well. tks