[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sheflug] Linux Dual/Multi Booting Using NTLDR



Quoting Netsonic <netsonic [at] blueyonder.co.uk>: 
 
> Any ideas anyone ? 
>  
 
Slightly different but similar. 
  
 
SuSE 8.2 installed first.  Later I added XP pro. 
 
fdisk -L shows 
 
butter:~ # fdisk -l 
 
Disk /dev/hda: 40.0 GB, 40007761920 bytes 
16 heads, 63 sectors/track, 77520 cylinders 
Units = cylinders of 1008 * 512 = 516096 bytes 
 
   Device Boot    Start       End    Blocks   Id  System 
/dev/hda1             1      2040   1028128+  82  Linux swap 
/dev/hda2          2041     64468  31463302+  83  Linux 
Partition 2 does not end on cylinder boundary. 
/dev/hda3   *     64469     77520   6578208    c  Win95 FAT32 (LBA) 
butter:~ # 
 
 
after installing XP of course Linux didn't boot any longer.  I booted from 
Suse CD and selected rescue system. 
 
At a root shell  
made a mount point /mnt/hda2 and mounted /dev/hda2 there 
 
then chroot /mnt/hda2 
( that gave me my whole root partition and everything else as I only had a 
single linux partition (excluding swap).  If I'd had a seperate boot 
partition, I'd need to mount that at this point .. so my chrooted shell looked 
like the usual root filesystem) 
 
I then edited /boot/grub/grub.lst using /bin/vim and added 
 
title XP 
    root (hd0,2) 
    chainloader +1 
 
Which tells grub to boot from /dev/hda3 and let another bootloader (ie ntldr) 
take over. 
 
After finishing editing I then ran grub 
 
/usr/sbin/grub < /boot/grub/grub.lst  
 
and both SuSE Linux and XP could be selected and booted from the Linux boot 
menu. 
 
I got all the info from google at the time .. so you might want to check the 
details. 
 
AED 
--  
http://www.burngreave.net  
Ensuring that the Burngreave Residents benefit fully from the opportunities  
ICT brings  

-------------------------------------------------
E-mail provided by the Burngreave Community Network
http://www.burngreave.net
___________________________________________________________________

Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html

  GNU the choice of a complete generation.