Ubuntu Blog – Latest informations

Just another WordPress.com site

Grub Help Please!

Name Remember Me? Password
Forgot Password?  Ubuntu Linux   Help requests related specifically to Ubuntu, Kubuntu, Xubuntu, or others in the Ubuntu family
Site Navigation Linux Forums Linux Articles Product Showcase Linux Downloads Linux Hosting Free Magazines Job Board IRC Chat RSS Feeds Free Publications

Linux Forum Topics Linux Forums Linux Forums Site News Your Distro Arch LinuxDebian LinuxGentoo LinuxKnoppix LinuxMandriva LinuxMEPIS LinuxMint LinuxPCLinuxOSSlackware LinuxSuSE LinuxRed Hat / Fedora LinuxUbuntu LinuxOther Linux DistributionsEverything BSD Linux Resources Linux Tutorials, HOWTO’s & Reference Material GNU Linux Zone NewbieInstallationApplicationsHardware / PeripheralsDesktop / X-WindowsGaming / Multimedia / EntertainmentLaptops / Netbooks / MinibooksMobile DevicesWireless InternetNetworkingServersKernelProgramming / ScriptingGraphic Arts / Digital ImagingSecurityMiscellaneousWine The Community The Coffee LoungeComments / Feedback / Suggestions Reply   Thread Tools Display Modes Old8 Hours Ago  #1 (permalink) skandranon Just Joined!  
Join Date: Oct 2010 Posts: 9 Question 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 skandranon is offline 

Reply With Quote Old6 Hours Ago  #2 (permalink) jayd512 Linux Guru  
jayd512's Avatar  
Join Date: Feb 2008 Location: Louisville, Kentucky Posts: 1,984 Have you tried to run
Code: sudo update-grubTo see if a new grub.cfg file is created? __________________
Jay

Forum Rules
Linux Man Pages
Registered Linux User #463940
Every story has more chapters… None of them have an ending. jayd512 is offline  Reply With Quote Old6 Hours Ago  #3 (permalink) skandranon Just Joined!  
Join Date: Oct 2010 Posts: 9 Quote: Originally Posted by jayd512 View Post Have you tried to run
Code: sudo update-grubTo see if a new grub.cfg file is created? 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. skandranon is offline  Reply With Quote Old3 Hours Ago  #4 (permalink) tyho Just Joined!  
Join Date: Oct 2010 Location: Mwanza, Tanzania Posts: 16 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) tyho is online now  Reply With Quote Old1 Hour Ago  #5 (permalink) skandranon Just Joined!  
Join Date: Oct 2010 Posts: 9 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. skandranon is offline  Reply With Quote Old41 Minutes Ago  #6 (permalink) tyho Just Joined!  
Join Date: Oct 2010 Location: Mwanza, Tanzania Posts: 16 OK, do this at first:
Code: sudo mkdir /mnt/windowssudo mount /dev/sda1 /mnt/windows(I assume /dev/sda1 is the partition Windows boots of)

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
Code: sudo mv /mnt/windows/boot /mnt/windows/boot_backupThe new name of the boot folder will be boot_backup. You can name it whatever you want, boot_backup is just an example.

After that, run
Code: sudo update-grubagain.

Now it should work. If not, post the output of update-grub. tyho is online now  Reply With Quote Reply
« Previous Thread|Next Thread »
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)   Thread Tools Show Printable Version Show Printable Version Email this Page Email this Page Display Modes Linear Mode Linear Mode Hybrid Mode Switch to Hybrid Mode Threaded Mode Switch to Threaded Mode
Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is OffTrackbacks are Off Pingbacks are Off Refbacks are Off
Free Magazines Implementing Detailed User-Level Auditing of UNIX & Linux Systems
Enhance regulatory compliance and troubleshooting through detailed auditing, logging and real-time monitoring of UNIX/Linux user activity.
subscribe Linux from Scratch – Receive Your Complimentary eBook NOW!
Linux from Scratch describes the process of creating your own Linux system from scratch from an already installed Linux distribution, using nothing but the source code of software that you need.
subscribe A Complete Beginner’s Manual for Ubuntu 10.04 (Lucid Lynx)
Getting Started with Ubuntu 10.04 (Lucid Lynx) is a comprehensive beginners guide for the Ubuntu operating system; it features comprehensive guides, How Tos and information on anything you need to know after first installing Ubuntu.
subscribe The Incredible Guide to NEW Ubuntu (Karmic Koala)
There are a lot of people still stuck with Windows because it’s the �easier alternative’. Linux is both cheaper and more versatile than Microsoft’s operating system, but the learning curve has frightened off many people.
subscribe The GNU/Linux Advanced Administration
The GNU/Linux systems have reached an important level of maturity, allowing to integrate them in almost any kind of work environment, from a desktop PC to the sever facilities of a big company.
subscribe A Newbie’s Getting Started Guide to Linux
Learn the basics of the Linux operating systems. Get to know what it is all about, and familiarize yourself with the practical side. Basically, if you’re a complete Linux newbie and looking for a quick and easy guide to get you started this is it.
subscribe Run Your Own Web Server Using Linux & Apache – Free 191 Page Preview
Learn about everything you’ll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe

All times are GMT. The time now is 12:34 PM.


Advertise About Us Contact Us Write For Us Archive Top All Areas Articles Downloads Forums Linux Hosting © 2000 – – All Rights Reserved – Property of  MAS Media
Content Relevant URLs by vBSEO 3.3.1

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s

Information

This entry was posted on October 12, 2010 by and tagged .
%d bloggers like this: