LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 09-12-2010, 10:11 PM   #1
orlcam2002
LQ Newbie
 
Registered: Jul 2009
Posts: 4

Rep: Reputation: 0
Ubuntu 9.10 with Grub version 0.97 new boot drive


So, I cloned my hard drive using Clonezilla. a 640 gb to 1 TB. I go to my bios to boot to my 1 TB. so I want to make sure I'm on the new drive not the old so, Did a search on how to change my settings and found this link. https://help.ubuntu.com/community/GrubHowto
following the steps to verify my grub version and its 0.97. I've verified this on startup just to be sure. following the instructions in "Changing the Disk that Grub is installed to"
first step $ df /boot worked fine, got the following:

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sdd1 605649876 436738112 138146488 76% /

It looks like my old drive and I continued with the instructions (later on I found out through Gparted that this is my new drive).

now the trouble starts.
I tried the next step: cat /boot/grub/device.map
and it came up empty. all other instructions in my searches came up with the same, which is to see the device.map.

so now I'm confused. why isn't device.map found then? I've verified that grub is 0.97. What I found interesting is that 9.10 should be using grub2 but mine isn't. could it be because I've been doing upgrades instead of a clean install?

Also, I still have the old drive attached but I can't see it in Places but I see it in Gparted. Why doesn't this show up in Places?

My apologies to those that may reply that this was answered before. I've been at it for a few hours and I'm exhausted. I did do a lot of searches. If it's out there I didn't find it. possibly the terms I used didn't match.

Last edited by orlcam2002; 09-12-2010 at 10:16 PM.
 
Old 09-13-2010, 11:44 AM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,487

Rep: Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488
I think your first step should be to get drive and partition information posted. If you don't know how to do this and can boot your original Ubuntu, open a terminal and run the command: sudo fdisk -l (lower case Letter L in the command) and post that info here. Have all drives attached.

Ubuntu 9.10 does use Grub2 so I'm not sure why you have Grub Legacy unless you updated to it from an earlier version?
 
Old 09-13-2010, 07:06 PM   #3
orlcam2002
LQ Newbie
 
Registered: Jul 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks for your feedback. I'm not too concern with getting my older drive found as I'm going to clean it up and re-use it once my new one has run for a few weeks. I'm more concern that my version of grub is not current. Is is as simple as going to synaptics and getting the new grub?

Here's my listing of the drives, I did this under my new machine. My boot is sdd. the old one is sda.


Disk /dev/sda: 640.1 GB, 640135028736 bytes
255 heads, 63 sectors/track, 77825 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0003d645

Device Boot Start End Blocks Id System
/dev/sda1 * 1 76602 615305533+ 83 Linux
/dev/sda2 76603 77825 9823747+ 5 Extended
/dev/sda5 76603 77825 9823716 82 Linux swap / Solaris

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x7667a93b

Device Boot Start End Blocks Id System
/dev/sdb1 1 60801 488384001 7 HPFS/NTFS

Disk /dev/sdc: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x6605f09c

Device Boot Start End Blocks Id System
/dev/sdc1 1 60801 488384001 7 HPFS/NTFS

Disk /dev/sdd: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0003d645

Device Boot Start End Blocks Id System
/dev/sdd1 * 1 76602 615305533+ 83 Linux
/dev/sdd2 76603 77825 9823747+ 5 Extended
/dev/sdd5 76603 77825 9823716 82 Linux swap / Solaris

Disk /dev/sdj: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x44fdfe06

Device Boot Start End Blocks Id System

/dev/sdj1 1 60801 488384001 7 HPFS/NTFS
 
Old 09-13-2010, 08:01 PM   #4
orlcam2002
LQ Newbie
 
Registered: Jul 2009
Posts: 4

Original Poster
Rep: Reputation: 0
I found the reason why I don't have grub2. It's installed by default on new installations of 9.10. Since I did an upgrade, it wasn't added. I found instructions on how to do this: https://wiki.ubuntu.com/Grub2 and here: http://www.ubuntu-inside.me/2009/06/...tu-jaunty.html (the wiki also says you can use the same instructions from 9.04 with 9.10).
 
Old 09-13-2010, 08:14 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,119

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Those instructions are (very) Debian (thus Ubuntu) specific. At this time you may not care, but you would if you changed to a non-Debian derived distro.
That said, device.map is optional. You only need the device specification - it doesn't have to come from device.map.

As for grub legacy, yes it is retained by the Ubuntu upgrade. That may (will) change in future.
On that help site is a Grub2 document - it will tell you how to upgrade as well as good background on grub2 itself.

D'oh - too slow.

Last edited by syg00; 09-13-2010 at 08:15 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu Drive Bad, Can't get XP to boot (Grub Error) mikef77z Ubuntu 9 04-20-2009 08:07 PM
GRUB error on windows-only drive after ubuntu install on separate drive Pappou Linux - Newbie 4 03-22-2009 07:00 PM
installed Ubuntu, can't boot, grub error 18, can I fix without a floppy drive? raymondvillain Linux - Newbie 8 05-23-2008 08:32 AM
Ubuntu on USB drive, XP on main drive. Grub 21 error steste Linux - Newbie 1 12-09-2007 03:10 PM
using GRUB 1.5 with boot on sata-drive and system on usb drive(ipod photo) Scorp-D Linux - Laptop and Netbook 1 03-16-2007 02:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 09:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration