LinuxQuestions.org
Help answer threads with 0 replies.
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 10-13-2007, 04:32 PM   #1
verndog
Member
 
Registered: Oct 2007
Posts: 279

Rep: Reputation: 68
SuSe 10.3 mounted my IDE drive as SATA


Suse 10.3, shows my single ide drive as /dev/sda instead of /dev/hda
I don't know how that happened. I searched and found no reference
to my problem. Thanks.
 
Old 10-13-2007, 06:40 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
There is no problem. OpenSuse 10.3 uses the 2.6.23? kernel. Somewhere around the 2.6.18 to 2.6.20 kernels, all drives (IDE, SATA, and SCSI) are called sd something-or-other. Grub still refers to IDE drives as hd and SATA/SCSI drives as sd. But, to the kernel, they're all sd.
 
Old 10-13-2007, 06:44 PM   #3
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Oops, double answer.
 
Old 10-14-2007, 12:11 PM   #4
verndog
Member
 
Registered: Oct 2007
Posts: 279

Original Poster
Rep: Reputation: 68
Quote:
Originally Posted by bigrigdriver View Post
There is no problem. OpenSuse 10.3 uses the 2.6.23? kernel. Somewhere around the 2.6.18 to 2.6.20 kernels, all drives (IDE, SATA, and SCSI) are called sd something-or-other. Grub still refers to IDE drives as hd and SATA/SCSI drives as sd. But, to the kernel, they're all sd.
Thank you! I wasn't aware of that. It was confusing because I installed and use a couple of livecd's to see what they reported and "hda" was what came up. I thought I was missing something or did something wrong.

This might be a good thing if Knoppix upgrades to that kernel level. It always stops at the sata check for over a minute. If the kernel marks all drives as sata or sdx then that might allow Knoppix to pass much faster.

Opensuse has come along why since I installed version 9. I can't believe the speed also of OpenOffice.
 
Old 10-16-2007, 09:09 PM   #5
sbd
LQ Newbie
 
Registered: Oct 2007
Location: Adelaide
Distribution: Suse 10.1
Posts: 2

Rep: Reputation: 0
related problem - won't boot after online update

I have a problem related to the above. I'm running Suse 10.1 which installed with kernel 2.6.16.??. I used online update, but have not installed all of the available updates yet, and find I now have 2.6.16.53-0.16-SMP. The problem is that the machine will not boot as it cannot find /dev/hda2 for a root filesystem, as that filesystem is now on /dev/sda2. I have not worked out the magic incantations of mount, chroot, mkinitrd, whatever to be able to get this system to boot again. Is anybody able to help? I'd rather not have to go back to a clean install if I can help it.

Thanks,
Scott
 
Old 10-16-2007, 10:42 PM   #6
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
I have an interest in the hda/sda thing because of the way I have partitioned my hard drive. My 300GB hard drive has 24 partitions. The old parallel drive support easily allowed this, the new SATA driver wants to restrict me to 15 partitions. My gripe is that Linux usually has enabled me to do what I want. It is one of the few operating systems that even allows installation on a logical partition.
As part of an ongoing driver reliability upgrade Linus intends that the newer SATA support be the default even when the drive is PATA. SATA drives are currently limited to 15 partitions. I find it odd that when the size of hard drives is expanding I could find myself more restricted in partition options.
Attempting to install the latest Fedora failed on my hard drive. Apparently Fedora does not intend to allow any further support for more than 15 partitions.
A Mandriva 2008 install produced no problems at all.
My Suse 10.3 install told me to reboot and add hwprobe=-modules.pata as a boot option. It is currently installed and my drive is hda.
The latest Absolute Linux and Puppy Linux installed with no problem.
My understanding is that using LVM or running multiple operating systems in emulation are my options when presented with fewer partitions at the same time hard drives are available at 750GB and better.
 
Old 10-16-2007, 10:56 PM   #7
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
To sbd

You may be able to repair things if you have a liveCD to boot. Mount the Suse partition, and edit /boot/grub/menu.lst. Change references for root=/dev/hda2 to root=/dev/sda2.

Then edit /etc/fstab to change /dev/hda2 to /dev/sda2.

I think that would be enough to tell grub where the root of the filesystem is, and should boot.
 
Old 10-16-2007, 11:00 PM   #8
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
Quote:
Originally Posted by bigrigdriver View Post
To sbd

You may be able to repair things if you have a liveCD to boot. Mount the Suse partition, and edit /boot/grub/menu.lst. Change references for root=/dev/hda2 to root=/dev/sda2.

Then edit /etc/fstab to change /dev/hda2 to /dev/sda2.

I think that would be enough to tell grub where the root of the filesystem is, and should boot.
I'm still in the middle of checking my 10.1 install on my laptop but I am wondering if one can get ahold of the modules.pata, load them at the boot menu and be good to go.
 
Old 10-17-2007, 12:48 AM   #9
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
Okay, with the latest updates to my Suse 10.1 on my laptop which installed kernel 2.6.16.53-0.16-default my drives show up as hda with no further configuration from me. On this same system Ubuntu lists drives as sda with no problems. There are less than 15 partitions on this computer.
I had hoped to see if I was allowed to enter "hwprobe=-modules.pata" as a boot option, but it was not even needed in my case.

Last edited by 2damncommon; 10-17-2007 at 12:51 AM.
 
Old 10-17-2007, 01:12 AM   #10
sbd
LQ Newbie
 
Registered: Oct 2007
Location: Adelaide
Distribution: Suse 10.1
Posts: 2

Rep: Reputation: 0
Quote:
Originally Posted by bigrigdriver View Post
To sbd

You may be able to repair things if you have a liveCD to boot. Mount the Suse partition, and edit /boot/grub/menu.lst. Change references for root=/dev/hda2 to root=/dev/sda2.

Then edit /etc/fstab to change /dev/hda2 to /dev/sda2.

I think that would be enough to tell grub where the root of the filesystem is, and should boot.
THANKYOU!!!

I had no idea about grub, so didn't even know to look there. I had already found and fixed /etc/fstab, but the boot process didn't get that far.

A liveCD is not required, as there are enough commands (just!) in the initrd filesystem, and certainly enough in the rescue environment on the original installation CD.

To help any future people who encounter a similar problem, note that (hd0, 1) must STAY that way, it's only the /dev/hdXn that has to change to /dev/sdXn.

Thanks,
Scott
 
  


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
install xp on ide drive, ubuntu on sata drive abrahammer Ubuntu 5 07-29-2007 11:57 PM
Adding a SATA drive to be mounted as /home stefholod Linux - Hardware 5 03-25-2006 07:59 PM
slackware 10 sata and ide drive problem RadixInsurgio Slackware - Installation 3 07-18-2005 11:12 PM
Installing grub onto sata drive to redirect to ide in Suse 9.3 d3viant Linux - Hardware 2 06-21-2005 09:14 AM
Why cant i write to a mounted ide drive as user? timmie merc Linux - Newbie 2 03-07-2004 09:42 AM

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

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

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