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



OK I'm back in Ubuntu, thanks! The hda is still /dev/hda2, and
required some edits in menu.lst, is there a way this reassign this
primary part back to /dev/hda1?
Thanks


On Mar 28, 6:36 pm, ray <r...@xxxxxxxxxx> wrote:
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

  • Re: Knoppix von USB-HDD booten
    ... ich habe null Ahnung und mit Linux nie was gemacht, ... Man *kann* Knoppix permanent auf einer Festplatte einrichten, dafür ist es aber nicht gedacht, und andere Distributionen eignen sich dafür weitaus besser. ... Da wird es Dir aber passieren, dass ein zum Booten benötigter Teil von GRUB trotzdem auf der externen Festplatte zu liegen kommt. ... Idealerweise reservierst Du also ein kleines Stückchen Platz auf einer internen Platte und legst dort das /boot-Verzeichnis für Dein ansonsten externes Ubuntu ab. ...
    (de.comp.os.unix.linux.misc)
  • Re: Ubuntu Breezy Install---boot vector invalid
    ... install ubuntu without removing Windows XP. ... Although I intalled grub, when system continue next installion, it ... To fix it, you will need to boot of the Ubuntu LiveCD, mount the Linux ...
    (Ubuntu)
  • Re: Installationsprobleme Ubuntu 9.04
    ... Ubuntu installiert - funktioniert ... Software, z.B. auch ein Original GRUB, nicht klar. ... Bei Installation *mit* GRUB funktioniert der Linux Start. ...
    (de.comp.os.unix.linux.misc)
  • Re: No bootable partition after Ubuntu install
    ... So grub is not there. ... This should let you boot your Ubuntu. ... how do you get to know this UUID? ... But a better way is for him to just mount his Ubuntu on the Linux ...
    (Ubuntu)
  • Re: Grub error- (different one now)
    ... decided to put Linux ubuntu on my computer on a new HDD, installed it but when it rebooted the ubuntu never restarted just got the message GRUB LOADING STAGE 1.5 Error. ... to install a fresh grub on your ubuntu. ...
    (alt.os.linux)