[Tfug] newbie questions

Jeremy D. Rogers jdrogers at optics.arizona.edu
Thu Jun 3 10:04:06 MST 2004


Also, if you want to avoid changing drive order, you can use the boot
loader to switch what windows thinks is the "master" and "slave" drives via
map-drive in lilo for example:

other=/dev/hdb1
label=WindowsNT
map-drive = 0x80
to = 0x81
map-drive = 0x81
to = 0x80 

man lilo and search for map-drive for more. Grub is slightly different:

title win
map (hd1) (hd0)
map (hd0) (hd1)
rootnoverify (hd1,0)
chainloader +1 

I've done this before in LILO with windows on the slave drive and no
problem, but I haven't tried swapping drives ingrub. Here is the thread
where I found the grub info:

http://www.linuxformat.co.uk/modules.php?op=modload&name=phpBB_14&file=index&action=viewtopic&topic=6377&forum=1

Cheers,
JDR

On Thu, 3 Jun 2004 09:16:30 -0700 Michael Stenner <mstenner at ece.arizona.edu> wrote:

MS> On Thu, Jun 03, 2004 at 08:36:53AM -0700, Ranjan Grover wrote:
MS> > I attached another HDD with windows on it and can't get it to dual
MS> boot 
MS> > with Linux, i.e, I changed the grub.conf file in /etc to read for
MS> the 
MS> > windows part
MS> > title Windows XP
MS> > unhide (hd1,0)
MS> > rootnoverify (hd1,0)
MS> > chainloader +1
MS> > 
MS> > This doesn't seem to work and I get an error message when I try to
MS> boot 
MS> > into windows.
MS> 
MS> I have never known windows to be happy booting from anything other
MS> than hda1.  That might have changed, but I haven't seen it.  Try
MS> 
MS>  a) getting a boot/root disk and verifying that it works (you can
MS>     mount your linux partition, etc)
MS>  b) rearranging your disks so that the windows disk is hda
MS>  c) edit /etc/fstab and rerun grub given the new arrangement
MS> 
MS> > While reading the windows partitions (NTFS), I notice that I can
MS> only 
MS> > mount and read as root. I tried to change the permissions using
MS> chmod 
MS> > and also by changing the permissions in /etc/fstab manually. I also 
MS> > tried using Yast but I can't do it. Any suggestions?
MS> 
MS> How did you change the perms in fstab?  umask=0000?
MS> 
MS>                                         -Michael
MS> -- 
MS>   Michael D. Stenner                           
MS> mstenner at ece.arizona.edu
MS>   ECE Department, the University of Arizona                
MS> 520-626-1619
MS>   1230 E. Speedway Blvd., Tucson, AZ 85721-0104                 ECE
MS> 524G






More information about the tfug mailing list