LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Ubuntu 9.10 with Grub version 0.97 new boot drive (https://www.linuxquestions.org/questions/ubuntu-63/ubuntu-9-10-with-grub-version-0-97-new-boot-drive-831796/)

orlcam2002 09-12-2010 10:11 PM

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.

yancek 09-13-2010 11:44 AM

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?

orlcam2002 09-13-2010 07:06 PM

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

orlcam2002 09-13-2010 08:01 PM

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).

syg00 09-13-2010 08:14 PM

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.


All times are GMT -5. The time now is 12:14 AM.