LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-21-2009, 08:17 AM   #1
RaiReg
Member
 
Registered: Jul 2003
Location: Bali, Indonesia
Distribution: SuSE, Ubuntu, Kubuntu, Mepis, Mandrake, Knoppix, Slax
Posts: 50

Rep: Reputation: 15
Boot loader problem, can't find the hard drive


Dear all

First of all I apologize if this is one of those 'silly' question but my Linux skills became a bit rusty over the years and I haven't been able to solve this problem for weeks now, so please help.

Recently the motherboard on my old computer 'died' and so I had to replace it with another one, since it was 'quite' old I had to find a 2nd hand motherboard because new ones are not on the market any more.

After I finally got one and install it, it turned out that IDE1 was not working so I had to plug my hard drives (2 of them) to IDE2.

The boot loader is working good but unfortunately the change of hdd from IDE1 to IDE2 makes it can not boot into SuSE 9.3. The machine is dual boot and I can boot into W2K but not into SuSE.

Here is what I get in the process of booting:

hdc: ST320413A, ATA Disk Drive
hdd: ST380011A, ATA Disk Drive
ide1 at 0x170-0x177, 0x376 on irq 15
Loading kernel/drivers/ide/ide-disk.ko
hdc: max request size: 128KiB
hdc: Host Protected Area detected.
°current capacity is 39100233 sectors (20019 MB)
°current capacity is 39102336 sectors (20020 MB)
hdc: Host Protected Area disabled.
hdc: 39102336 sectors (20020 MB) w/512KiB cache, CHS=38792/16/63, UDMA (100)
hdc: cache flushes not supported
hcd: hdc1 hdc2 <hdc5<6>input: Im PS/2 Generic Wheel Mouse on iso0060/serio1 hdc6>
hdd: max request size: 1024KiB
hdd: 156301488 sectors (80026 MB) w/2048KiB cache, CHS=16383/255/63, UDMA (100)
hdd: cache flushes supported
hdd: hdd1 hdd2 <hdd5 hdd6>
Loading kernel/drivers/cdrom/cdrom.ko
Loading kernel/drivers/ide/ide-cd.ko
Waiting for device /dev/hda6 to appear: .....resume devices /dev/hda6 not found (ignoring)
Loading kernel/fs/reiserfs/reiserfs.ko
Waiting for device /dev/hda5 to appear: .....resume devices /dev/hda5 not found -- exiting to /bin/sh
sh: can't access tty; job control turned off
$

Now the way I see it problem is that what used to be hda is now hdc and what used to be hdb is now hdd (CMIIW), thing is I don't know how I can change that or what do I need to do to get it done.

Can someone enlighten me please?

Help is much appreciated, many thanks in advance.

Rai ... the rusty linux user
 
Old 02-21-2009, 08:46 AM   #2
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Australia
Distribution: Mainly Debian based
Posts: 5,437

Rep: Reputation: Disabled
hi

pls check your jumpers and retest ide1 is the best solution.

2) otherwise you need to change bios boot order and then use a live cd to edit the grub menu.lst and the /etc/fstab
 
Old 02-21-2009, 10:06 AM   #3
CJS
Member
 
Registered: May 2008
Location: California, USA
Distribution: Ubuntu 8.10
Posts: 247

Rep: Reputation: 49
Quote:
Originally Posted by RaiReg View Post
Waiting for device /dev/hda6 to appear: .....resume devices /dev/hda6 not found (ignoring)
Loading kernel/fs/reiserfs/reiserfs.ko
Waiting for device /dev/hda5 to appear: .....resume devices /dev/hda5 not found -- exiting to /bin/sh
sh: can't access tty; job control turned off
Since you moved your HDD from IDE1 to IDE2, probably its device name changed from hda to hdb, and that would explain the above errors. As aus9 all ready pointed out, the first place to start would be to make sure your /boot/grub/menu.lst and /etc/fstab use the correct HDD/partitions (or better yet, use UUIDs instead of device names). I'm not sure if OpenSUSE has the following "resume" file, but if it does, it is probably related to the above errors:
Code:
/etc/initramfs-tools/conf.d/resume
Good luck and let us know how it goes.
 
Old 02-21-2009, 05:15 PM   #4
Ixthusdan
Member
 
Registered: Jun 2006
Location: Mishawaka, IN USA
Distribution: Open Suse
Posts: 194
Blog Entries: 1

Rep: Reputation: 32
For clarity, hda=Primary master, hdb=Primary slave, hdc=Secondary master, hdd=Secondary slave. Therefore, I suspect that a becomes c and b becomes d, follow those changes in your boot loader.


hda6 becomes hdc6, hda5 becomes hdc5. Another thought is to do a repair installation, not check any packages, and the new boot loader will install the correct parameters..
 
Old 02-21-2009, 06:27 PM   #5
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Australia
Distribution: Mainly Debian based
Posts: 5,437

Rep: Reputation: Disabled
hi

all suggestions are good but hard drive jumper settings vary.

some require no jumper shorting to indicate master while others need a short
some ppl can get away with cable select setting.

I would still look that he has not swapped the drives in inserting into first ide and losing the normal mbr.

Naturally you can't have 2 masters or 2 slaves on the one atapi interface.

2) the fstab and grub kernel lines etc should IMHO be a last resort.

unless the OP can indicate he can see broken pins pls
 
Old 02-21-2009, 07:07 PM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 18,496

Rep: Reputation: 3099Reputation: 3099Reputation: 3099Reputation: 3099Reputation: 3099Reputation: 3099Reputation: 3099Reputation: 3099Reputation: 3099Reputation: 3099Reputation: 3099
Quote:
Originally Posted by RaiReg View Post
Now the way I see it problem is that what used to be hda is now hdc and what used to be hdb is now hdd (CMIIW), thing is I don't know how I can change that or what do I need to do to get it done.
Seems like an excellent analysis, given the messages you got.
Without an OpenSuSE system I'd reckon that extended partition it's looking for is a swap. Things are obviously working with the disks as-is else you wouldn't get this far, and W2K wouldn't boot.
Presuming you are using grub, try this.
From the boot menu, interrupt the boot by hitting an "arrow" key. Hightlight your entry and hit "e" to edit the entry. Next highlight the kernel line - hit "e" there too. If it has "resume=..." change it to "noresume" (no quotes), else add "noresume" to the end of the line.
Hit enter then "b" to boot.
See if that gets you any further - it's a temporary change, only for this boot.

As suggested, you'll probably fail later doing the mounts from /etc/fstab but you'll need a liveCD to fix that.
 
Old 02-22-2009, 05:34 AM   #7
RaiReg
Member
 
Registered: Jul 2003
Location: Bali, Indonesia
Distribution: SuSE, Ubuntu, Kubuntu, Mepis, Mandrake, Knoppix, Slax
Posts: 50

Original Poster
Rep: Reputation: 15
Lightbulb

Thanks guys for all the quick response, very appreciated.

Ok here is the thing, regarding IDE1 it's definitely not working since I had it checked by computer technician and he told me the same.

Jumpers wise, jumpers on the hard drives were already set accordingly. I know because I installed them myself so hdc is set master and hdd is set to slave.

I did try syg00 suggestion but unfortunately hitting "arrow" key in the booting process didn't stop the process, it just kept on going.

So as most of you suggested finally as the last resort, I boot using a live cd and alter the /boot/grub/menu.lst and /etc/fstab changing all the hda to hdc and all the hdb to hdd.

Then I restart and GRUB was booting again as before, back to SuSE 9.3.
Later tried to boot into W2K and also worked fine.

I do feel a bit silly on how easy it was to fix the problems but I could not doing without your help.

So once again many thanks to everyone.

Cheers!

Last edited by RaiReg; 02-22-2009 at 05:37 AM.
 
  


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
grub boot loader with external SATA hard drive james2b Linux - Newbie 1 03-24-2008 06:27 AM
Two hard disks - dual boot ( XP - Linux ) using microsoft boot loader, not grub cristy88 Linux - General 2 12-17-2007 07:26 PM
Boot program cannot find Fedora imagefiles on hard drive? alpha1truth Fedora - Installation 1 09-25-2007 01:06 PM
Ubuntu: Installed to external hard drive; boot to primary hard drive gives error 22 dcorb62 Linux - General 7 09-05-2007 12:28 AM
boot loader on different hard drive verify_reality Linux - Newbie 1 05-25-2004 02:04 AM

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

All times are GMT -5. The time now is 01:17 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration