LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 31-Jul-2009, 01:30 AM
Peter Norris
NNTP User
 
Posts: n/a
Default GRUB .... MBR

Hi All,

we have a dual boot imaging.

under ZEN 7sp1 IR3 on Netware

At the end of the build we were able to

sda2 has Linux installed

#create device.map - Allows for multi disk PCS
echo | grub --no-floppy
mount /dev/sda2 /mnt/harddisk
cp /boot/grub/device.map /mnt/harddisk/boot/grub/device.map
##tell grub linux is on the first drive
sed -i s/hd1,1/hd0,1/g /mnt/harddisk/boot/grub/menu.lst
##default boot to windows
sed -i /default/s/0/1/ /mnt/harddisk/boot/grub/menu.lst
grub-install --root-directory=/mnt/harddisk /dev/sda
umount /mnt/harddisk

The problem we have under ZEN 7SP1 IR4 on OES Linux
/boot is mounted as a loopback device. Therefore it is read only.

Can anyone suggest a way to update grub whilst still in the imaging
engine. We now only have single disk PCs with

sda1 = windows
sda2 = linux

or
sda1 = windows
sda2 =

or
sda1 =
sda2 = linux


Also previously we used lilo.s to remove grub, this would allow non
Linux machines to boot. However it appears we can't run lilo any more.

Thanks for any help

Pete
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -6. The time now is 08:42 AM.


© 2007 Novell, Inc. All Rights Reserved.

Search Engine Friendly URLs by vBSEO 3.3.0 RC2