How to get an old installation to boot

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read this

How to get an old installation to boot

Postby jhouse59 on Wed Nov 05, 2008 6:13 pm

I've got Elyssa installed on another drive. I've reinstalled it onto a new drive. I've got some things saved on Tomboy notes. I forgot to save them so I could transfer them to this install. I tried to add the the old drive to this boot menu.lst file. But, it want boot.
Here is the "find /boot/grub/stage1":
(hd0,1)
(hd4,0)

The hd0,1 is the new install. GParted list my WindowsXP as sdc, Elyssa (new) as sdd, and Elyssa (old) as hde.
Here is the menu.lst file in the new install:
title Elyssa, kernel 2.6.24-16-generic
root (hd1,0)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=b8b57e12-f4c8-4bc0-b8a1-b929fa957825 ro quiet splash
initrd /boot/initrd.img-2.6.24-16-generic

title Elyssa, kernel 2.6.24-16-generic (recovery mode)
root (hd1,0)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=b8b57e12-f4c8-4bc0-b8a1-b929fa957825 ro single
initrd /boot/initrd.img-2.6.24-16-generic

title Elyssa, kernel memtest86+
root (hd1,0)
kernel /boot/memtest86+.bin

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1

I'v got the new drive installed on a IDE drive as slave to the Windows install. The old install is on an IDE drive but, its attached to a card to expand my IDE drives. I also have a SATA card with 2 drives attached to it. They're just storage drives.
Can someone tell me how to get the old install to boot?
User avatar
jhouse59
Level 3
Level 3
 
Posts: 186
Joined: Wed Aug 15, 2007 7:27 pm
Location: Eastern Tennessee,USA

Linux Mint is funded by ads and donations.
 

Re: How to get an old installation to boot

Postby Fred on Wed Nov 05, 2008 7:14 pm

jhouse59,

Something doesn't match up with your partition designators. Please check your post above and make sure it is correct and you don't have any typos in it. Does the menu.lst you are showing boot up your new install ok? Is the grub kernel in the mbr pointing to that menu.lst? You aren't changing the bios settings on the fly to select the boot are you?

I don't want to mislead you. It is important that I understand what you have where.

Fred
User avatar
Fred
Level 10
Level 10
 
Posts: 3356
Joined: Fri Jan 04, 2008 11:59 am
Location: NC USA

Re: How to get an old installation to boot

Postby jhouse59 on Sun Nov 09, 2008 9:51 am

Does the menu.lst you are showing boot up your new install ok?

Yes, it does.
Is the grub kernel in the mbr pointing to that menu.lst?

I don't know how to check it. But, my new installation boots up great.
You aren't changing the bios settings on the fly to select the boot are you?

No, I just go into the BIOs when I have to.
Something doesn't match up with your partition designators. Please check your post above and make sure it is correct and you don't have any typos in it

I did check my post. I first unhooked the drive that had my old installation. I ran the command:
Code: Select all
sudo grub

Then:
Code: Select all
find /boot/grub/stage1

(hd3,0)

So I guess from my last post it should've been:
(hd0,1)
(hd4,0)

The hd4,0 is the new install. GParted list my WindowsXP as sdc, Elyssa (new) as sdd, and Elyssa (old) as hde.
After hooking the old installation up again. Here is what I got when I ran:
Code: Select all
sudo fdisk -l


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

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

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

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

Disk /dev/hde: 122.9 GB, 122942324736 bytes
255 heads, 63 sectors/track, 14946 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0004e398

Device Boot Start End Blocks Id System
/dev/hde1 1 243 1951866 82 Linux swap / Solaris
/dev/hde2 * 244 1702 11719417+ 83 Linux
/dev/hde3 1703 14946 106382430 83 Linux

Disk /dev/sdc: 203.9 GB, 203928109056 bytes
255 heads, 63 sectors/track, 24792 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0bed0bec

Device Boot Start End Blocks Id System
/dev/sdc1 * 1 24792 199141708+ 7 HPFS/NTFS

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

Device Boot Start End Blocks Id System
/dev/sdd1 1 2445 19639431 83 Linux
/dev/sdd2 60550 60801 2024190 82 Linux swap / Solaris
/dev/sdd3 2446 60549 466720380 83 Linux

Partition table entries are not in disk order

I don't want to mislead you. It is important that I understand what you have where.

Thanks Fred. I hope this clears up somethings. The above code I ran with the old installation removed and hooked up. The one listed above is when I hooked the drive back up.
User avatar
jhouse59
Level 3
Level 3
 
Posts: 186
Joined: Wed Aug 15, 2007 7:27 pm
Location: Eastern Tennessee,USA

Re: How to get an old installation to boot

Postby Fred on Sun Nov 09, 2008 8:48 pm

jhouse59,

I am really in a hurry right now but I will get back to you with, hopefully, a solution for your problem. I have to go pick up my wife. For some unknown reason she gets a little irritated when I make her wait so I can play on the computer. :-)

Fred
Insanity: Doing the same thing over and over and each time expecting a different result.

Democracy is 2 wolves and a lamb voting on the menu. Liberty is an armed lamb protesting the electoral outcome. A Republic negates the need for an armed protest.
User avatar
Fred
Level 10
Level 10
 
Posts: 3356
Joined: Fri Jan 04, 2008 11:59 am
Location: NC USA


Return to Installation & Boot

Who is online

Users browsing this forum: Google [Bot], incoggnito, sumitra and 14 guests