Help using GRUB/Linux/Windows

Discussion about everything. New games, 3d math, development tips...
Post Reply
Anteater
Posts: 266
Joined: Thu Jun 01, 2006 4:02 pm
Location: Earth
Contact:

Help using GRUB/Linux/Windows

Post by Anteater »

Hi all. I've got a problem here, and was wondering if anyone knows what I'm doing wrong. I started with a copy of Ubuntu 10 running on my system.

My copy of Windows 7 finally arrived, so I installed it immediately. I then booted Ubuntu from the live CD to restore GRUB. I did so, and then rebooted. I realized that while booting Windows 7 is easy:

Code: Select all

root (hd0,1)
chainloader +1
boot
I cannot seem to find the correct root variable for Ubuntu. I think that otherwise my sytax is correct:

Code: Select all

root (hd0,0)
kernel /vmlinuz root=/dev/something
boot
When booting from the live CD and running GParted, I can see that my linux partition is /dev/sda1, flagged as boot. What am I missing here?
kazymjir
Posts: 727
Joined: Sat Feb 20, 2010 4:05 pm
Location: Munich, Bayern

Re: Help using GRUB/Linux/Windows

Post by kazymjir »

You are missing path initrd, you have only path to kernel
Post Reply