LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 07-08-2006, 07:33 PM   #1
DaveWat
LQ Newbie
 
Registered: Mar 2005
Posts: 9

Rep: Reputation: 0
Stopping an echo of an old hard disk


Although I have SuSE 8.2 and 9.3, from preference I still use 7.2 for the work I do with nedit, xfig, and gcc. But recently I have had to replace my hard disk so I prepared partitions on a new disk for 7.2 and 8.2 and copied them over using dd. On the old hd, 7.2 had been booted by LILO and when I added 8.2 everything booted with GRUB.

So I installed 9.3 on the new hd that already had 7.2 and 8.2, and GRUB found them all. Unfortunately, 7.2 had to be moved from hda6 to hda2, and 8.2 went from hda8 to hda5. I changed the entries in each /etc/fstab to suit just by mounting them from 9.3. Now I could boot 8.2 from GRUB, I was pleased. But I still had to use the installation CD to boot 7.2. I didn't want to load 7.2's LILO into the mbr since that would upset GRUB as installed by 9.3. So I tried to put LILO onto a boot disk but haven't been able to stop it from believing that 7.2 was still on hda6 even though I had changed 7.2's lilo.conf to suit the new partition. Something in the process of making the LILO floppy changes lilo.conf back to /dev/hda6 for the root address although the initial line remains 'boot = /dev/hda2/boot' as changed.

Can anyone tell me where and what to change in 7.2 so that it will accept it is on hda2, instead of hda6, and allow me to boot with a LILO floppy?

Or any alternative solution so I can use any of the three SuSE versions when required?
 
Old 07-09-2006, 03:19 PM   #2
fortezza
Member
 
Registered: Mar 2003
Location: Colorado
Distribution: Fedora Core 4
Posts: 297

Rep: Reputation: 30
Cool

First, check your grub.conf to ensure it points to the correct partition for each OS you wish to be able to boot from.

It is also importat to update the FSTAB for each OS to ensure it finds everything it needs. After partitions are mounted, the mount points are used for reference, so you should not need to make any changes beyond the two I mentioned.

Regards.
 
Old 07-09-2006, 07:08 PM   #3
DaveWat
LQ Newbie
 
Registered: Mar 2005
Posts: 9

Original Poster
Rep: Reputation: 0
Yes, the GRUB menu.lst item for SuSE 7.2, as generated by SuSE 9.3, points to root (hd0,1) which, I understand, is equivalent to /dev/hda2 and, as noted above, I have changed /etc/fstab to point to the correct partitions. The problem arises only when the GRUB listing tries to boot SuSE 7.2 at the /dev/hda2 partition. LILO begins but stalls at LI because it can't find the correct location of the second stage. I have tried to regenerate the LILO in the boot directory of SuSE 7.2 and it does this but for some reason, that I am asking about, the lilo.log shows that it still thinks SuSE 7.2 is at /dev/hda6 (where it was on the old hd). Obviously, something more needs to be changed within SuSE 7.2 before LILO can be regenerated correctly. I am asking where that might be?

Last edited by DaveWat; 07-09-2006 at 07:09 PM.
 
  


Reply



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
Cloning 1 hard disk to smaller hard disk, dd or ghost? fireman949 Linux - Hardware 8 12-23-2012 12:51 AM
60GB laptop hard disk & 200GB external USB hard disk linux compatibility powah Linux - Hardware 0 03-07-2006 10:55 AM
Stopping the constant disk access under ext3 and reiserfs?? carlos123 Linux - General 6 10-28-2005 08:07 AM
Stopping Hardware detection from detecting external hard drive thepasty Linux - Hardware 0 04-30-2004 02:06 PM
Hard Disk question - Making a big hard disk MrAnonym Linux - General 2 09-15-2003 06:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 02:55 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