Editing GRUB menu

coltie

Posts: 6   +0
Hi,
I'll preface this by explaining that I'm a novice, hobby builder with practically zero understanding of Linux. In fact the problem described below occurred while I was installing Ubuntu in an effort to learn about Linux based OSs.

My system has Windows 7 Home 64 bit installed on a WD internal hard drive and I added a second internal drive (Seagate) with the intention of installing Ubuntu thereby having a dedicated drive for each OS.

I attempted to install Ubuntu 10.10 from a dvd on the blank Seagate drive but musn't have disabled the WD drive in the bios because I ended up with both OSs installed on the WD drive and a GRUB boot menu now appears immediately after my mb splash screen. Both OSs work perfectly and I'm content with the result except if I disconnect the Seagate drive I get a GRUB error and am unable to boot either OS.

What I'm wanting to do is remove the Seagate drive from the GRUB boot menu so that I can install it in another machine. I'm also novice in command-line protocol so will need to be walked through the procedure with my hand being held. 8)

Included below are screen shots of the boot menu, edit page and error page. If anyone can assist me it would be greatly appreciated.
 

Attachments

  • Boot screen.jpg
    Boot screen.jpg
    195.3 KB · Views: 3
  • error screen.jpg
    error screen.jpg
    197.8 KB · Views: 3
  • Edit boot screen.jpg
    Edit boot screen.jpg
    200.2 KB · Views: 3
seems strange - if both os are on the wd drive, grub should be unconcerned about the seagate drive

in the linux system, partition manager, is ubuntu definitely shown as installed on the wd drive?

in the error msg, the missing drive is b28089...and the grub menu shows grub is looking for linux on that same drive

anyway well done for having two working oses!

also you need to establish clearly which drive is hd1
 
Hi Steve. thanks for the help.
It turns out I did manage to install Ubuntu on the Seagate.
Sata 1 is the dvd
Sata 2 is WD
Sata 3 is the Seagate

Boot order in bios is WD, Seagate, dvd
I tried changing it to Seagate first and no boot, no error message just a suspended boot screen.
When I set it up this way I had the notion that I'd be able to disable one of the drives in the bios and boot with the other.
Here's the hard disk info from Ubuntu..
 

Attachments

  • 07302011034.jpg
    07302011034.jpg
    197.5 KB · Views: 3
  • 07302011035.jpg
    07302011035.jpg
    198.9 KB · Views: 3
As you have said, it is correctly installed, though given the size of your disk you'd be much better creating separate partitions for your Linux install.

The reason the WD is the boot device is that is the disk containing the original MBR records for Windows, and therefore now contains (as it overwrites the Windows record for) GRUB to load the boot choice menu. This is normal, and nothing for you to worry about.
 
coltie, seems like you have a good set up.

for your own information, it's good to have a clear picture of the contents of your disks and partitions. in the terminal, a useful command is
Code:
fdisk -l
which lists the partition tables of your disks
also,
Code:
nano /etc/fstab
will open the fstab file (don't edit it yet!) which shows similar info.

http://www.tuxfiles.org/linuxhelp/fstab.html
 
Thanks to you as well steeve, I've learned plenty this weekend.
Enjoying the Ubuntu experience more every day as well.
 
Back