Re: dual booting (installed ubuntu then windows 2003 serv)



On Wed, 28 Mar 2007 16:16:04 -0700, Beagle wrote:

Folks,

I installed ubuntu edgy, then in the free unparted space installed
windows 2003 server. The OS was booting straight to windows, without
offering any option to boot to Linux. How can I fix this? I tried
gparted and setting the boot flag on the Linux part, but this caused
"No bootable OS" messages after power up. I deleted the windows part,
but Ubuntu data is still on /dev/hda2. I can see from mounting the
hda2 that there's reference to /dev/hda1 in grub menu.lst, and I'm not
sure how I can reassign the primary part to hda1 from hda2. How can I
get back to a dual booting OS after installing non-linux oses?

Thanks,
BEA

1) boot any Live CD
2) grub
3) grub> find /boot/grub/stage1 if you don't recall the partition
4) grub> root (hdn,m) n and m from above step probably (hd0,1) from
what you've told us
5) grub> setup (hd0)
6) grub> quit
7) reboot

There was no need to delete the MS partition, you may want to add that
back in first. Generally, it is better to install MS then Linux - for this
very reason.

.



Relevant Pages

  • fixing grub : mbr fix when windows install after linux
    ... "There is not a boot manager screen at all, ... windows but GRUB boot window does not appear. ... "I forgot to install GRUB, I didn't install GRUB in the MBR, I chose ... Fedora but that was not an active primary partition". ...
    (comp.os.linux.misc)
  • Re: Boot manager for Windows only
    ... And also is GRUB capable of booting any ... > Windows partition or will it always hand over to the XP boot loader? ...
    (comp.os.linux.setup)
  • Re: [opensuse] dual boot issues
    ... I am still unable to boot into the Win7 partition from grub. ... I have set up SuSE machines to dual boot into Windows since SuSE ... Since the Windows 7 boot sector was corrupted during the install of grub ...
    (SuSE)
  • Re: Grub and two distros
    ... the boot process. ... This will be aimed at some partition, ... eventually the GRUB configuration file will be read to start ... "Installing GRUB" is perhaps an understated description. ...
    (Fedora)
  • Re: GRUB Problems with Dell Optiplex GX1
    ... inappropriate boot image when they turn it on... ... It will boot from a floppy, but installing it to ... FreeBSD folks tend not to use Grub, ...
    (freebsd-questions)