Results 1 to 9 of 9
I have been having so many problem with ubuntu!
I finally got it and windows 7 installed on seprate hard drives.
Windows installed first, then ubuntu 10.04.01.
Had to use ...
- 10-12-2010 #1Just Joined!
- Join Date
- Oct 2010
- Posts
- 11
Grub Help Please!
I have been having so many problem with ubuntu!

I finally got it and windows 7 installed on seprate hard drives.
Windows installed first, then ubuntu 10.04.01.
Had to use the alternate ubuntu install cd to make it work. During the install it said there were no other operating systems installed on the computer and asked if grub could overwrite the master boor record. I knew this was something I wanted to do and if it was wrong it could most likely be fixed later.
So that being said, ubuntu has taken over the boot of my pc. No grub menu pops up. Not sure how to add windows to grub to make it give me a choice.
Can you guys help with this please?
Couple more things... I did try pressing shift durning startup to get grub to load, and nothing happened.
Here is my fdisk.
Windows is on sda and ubuntu is on sdb.. i think at least.
Also please note I am almost a complete n00b at ubuntu and linux in general. Please give details instructions on anything you would like me to do.
Disk /dev/sda: 74.4 GB, 74355769344 bytes
255 heads, 63 sectors/track, 9039 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000ddedc
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 102400 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2 13 9040 72508416 7 HPFS/NTFS
Disk /dev/sdc: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x02f94d51
Device Boot Start End Blocks Id System
/dev/sdc1 * 1 19458 156295361 7 HPFS/NTFS
Disk /dev/sdb: 74.4 GB, 74355769344 bytes
255 heads, 63 sectors/track, 9039 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0005cb95
Device Boot Start End Blocks Id System
/dev/sdb1 1 8666 69606400 83 Linux
/dev/sdb2 8666 9040 3004417 5 Extended
/dev/sdb5 8666 9040 3004416 82 Linux swap / Solaris
Disk /dev/sdd: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0195c00b
Device Boot Start End Blocks Id System
/dev/sdd1 2 30401 244188000 f W95 Ext'd (LBA)
/dev/sdd5 2 30401 244187968+ 7 HPFS/NTFS
- 10-12-2010 #2
Have you tried to run
To see if a new grub.cfg file is created?Code:sudo update-grub
Jay
New users, read this first.
New Member FAQ
Registered Linux User #463940
I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.
- 10-12-2010 #3Just Joined!
- Join Date
- Oct 2010
- Posts
- 11
No I had not. Just did though.
Output was:
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.35-22-generic
Found initrd image: /boot/initrd.img-2.6.35-22-generic
Found linux image: /boot/vmlinuz-2.6.32-25-generic
Found initrd image: /boot/initrd.img-2.6.32-25-generic
Found memtest86+ image: /boot/memtest86+.bin
ls: cannot access /var/lib/os-prober/mount/boot
Boot: No such file or directory
done
No idea what that means.
I have to go pick up my gal, be back in a hour.
- 10-12-2010 #4
It seems like you have the same problem as in this post: ubuntuforums.org/showthread.php?t=1374445 . Especially take a look on Post #5 ubuntuforums.org/showpost.php?p=9922017&postcount=5 , that might fix your problem.
(I hate this stupid 15 posts or more limitation for URLs)
- 10-12-2010 #5Just Joined!
- Join Date
- Oct 2010
- Posts
- 11
I read that thread and that does seem to be on the right track.
However I am not sure how to:
Run a boot info scrpit
or how to
- navigate to /mnt in nautilus and delete /boot folder.
- 10-12-2010 #6
OK, do this at first:
(I assume /dev/sda1 is the partition Windows boots of)Code:sudo mkdir /mnt/windows sudo mount /dev/sda1 /mnt/windows
I've never used Windows 7, so I don't know how it boots, but according to the mentioned forum post, there should be a folder called Boot on /dev/sda1. If there is also a folder called boot, that's your problem. You might want to rename it instead of deleting it, just to make sure you won't break anything.
You can rename it by running
The new name of the boot folder will be boot_backup. You can name it whatever you want, boot_backup is just an example.Code:sudo mv /mnt/windows/boot /mnt/windows/boot_backup
After that, run
again.Code:sudo update-grub
Now it should work. If not, post the output of update-grub.
- 10-13-2010 #7Just Joined!
- Join Date
- Oct 2010
- Posts
- 11
- 10-13-2010 #8
Do they happen to have different kernel versions listed with them?
That will happen when doing system updates.
If you want to remove the unwanted entries, look to the Grub 2 Guide.Jay
New users, read this first.
New Member FAQ
Registered Linux User #463940
I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.
- 10-14-2010 #9


Reply With Quote
