LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-20-2010, 02:08 AM   #1
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
New machine with old disk fails to boot - SATA / IDE problem?


I built a new machine with components as shown below:
  • Gigabyte GA-890GPA-UD3H (AMD 890GX)
  • Phenom II X6 1055T (6x 2800 MHz)
  • Seagate ST31000520AS 1 TB (1.000 GB) SATA

The main board has 2 SATA Controllers
  • no 1 AMD SB85 with internally 6x SATA, protocol serial ATA/600, 600.0 MB/s, six channels / devices, RAID Levels 0, 1, 5, 0+1.
  • no2 with internally IDE, Serial ATA, 1x 40-lines + 2x SATA, Ultra DMA/100, Serial ATA/300, 300.0 MB/s, four devices, three channels, RAID Levels 0, 1

I added the 250 GB Maxtor IDE disk of my old box with all my data and operating systems (SuSE 11.2, SuSE 11.0, FreeBSD 8.0) and made it the boot device, using the second controller (obviously ).

SuSE 11.2 says runlevel 5 has been reached but KDE (kdm, rather) does not start. I get a local host login an can log in as root. Issuing "startx" results in "X-Server 1.6.5 (EE) No devices detected. No screens found." "mount" shows no mounted partitions. The error output on <F10> shows: "kdmrc - kdm: X-Server died during startup. X-Server for display :0 cannot be started, session disabled". Booting in secure mode results in "Waiting for device to appear (root)" and halts there.

SuSE 11.0 stops with "USB 2.-1. New USB device string: Mfr=0, Product=0, SerialNumbers=0)" followed by a lot of dots and then: "Could not find /dev/sda7 -- can issue mount: no hd found."

FreeBSD boots with the white lines (not light gray yet) and then says: "Root mount error. mountroot>".

I tried BIOS settings of the drives as AHCI and IDE with identical results (well, with IDE a little more output on the power on selftest screen, gone too fast to read).

How to overcome this? Is it controller related at all?

P.S.: Sorry for the lengthy post and thanks for reading.

Last edited by JZL240I-U; 10-20-2010 at 08:34 AM.
 
Old 10-20-2010, 02:43 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,369

Rep: Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335
I would get into /etc/inittab and set initdefault: to 3 for console operation. Then you can have happy consoles and type startx for X. It's a better environment to play in.

That said, remove /etc/X11/xorg.conf, and try again. It said "No Screens Found", but X hardly needs an xorg.conf these days unless something is non standard
 
Old 10-20-2010, 02:50 AM   #3
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Original Poster
Rep: Reputation: Disabled
I'm afraid you didn't read the entire post -- I know it is long.

I can't reach inittab since "/" is not mounted (and no other partition either).
I already tried "startx".
I have the root console.
I can't reach /etc/X11/xorg.conf for the same reason as stated for inittab.

Any more ideas? In particular pertaining to the controllers?
 
Old 10-20-2010, 04:07 AM   #4
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,281

Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
Possible that if you connect another drive it become a /dev/sda and your Maxtor is now /dev/sdb so you need to change configuration files. You can use GUIDs for automatic identify partitions. If not, what show "fdisk -l"?

Last edited by eSelix; 10-20-2010 at 04:08 AM.
 
Old 10-20-2010, 04:09 AM   #5
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Original Poster
Rep: Reputation: Disabled
Uuups. My laziness. In my first post I substituted /dev/sda7 for /dev/disk/by-id/scsi...-part7, sorry. Oh, and the new drive is not partitioned yet and thus has no fils systems either.
 
Old 10-21-2010, 01:15 AM   #6
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Original Poster
Rep: Reputation: Disabled
I installed OpenSuSE 11.3 from the live CD on the new drive. It does mount the old drive's partitions. So I guess it is a software problem. I'll start a new thread and post the solution -- when and if I have it .
 
Old 10-22-2010, 02:36 AM   #7
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,369

Rep: Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335
Very probably what's in, or not in your kernel. You need drivers for root filesystem and hard disk before you can access modules. The way around this catch-22 is an initrd. Good you are sorted.
 
Old 10-22-2010, 02:54 AM   #8
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Original Poster
Rep: Reputation: Disabled
Hmm, I don't really think so, because the system does have all necessary ingredients for running (on the old hardware). Granted, there are more and new gadgets in the new box, but in my understanding the kernel loads only what it needs and the old environment doesn't need anything new. The file systems are ext3, ext4 (ext2 for boot) and still "/" is not mounted and X crashes.

What did you mean with the initrd or rather what should I do with it?

And I'm not really sorted, my wife needs the home banking program of the old SuSE...

Last edited by JZL240I-U; 10-25-2010 at 01:23 AM.
 
Old 10-23-2010, 02:57 AM   #9
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,369

Rep: Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335
I misread your (very clear actually) replies.

An initrd loads modules your box needs with the kernel before the latter tries to boot and fails for the lack of them.

Sounds like you still have a problem accessing the old drive? Try 'fdisk -l' and that should list you partitions, mounted and unmounted. Then you can try things on them individually.
 
Old 10-23-2010, 08:29 AM   #10
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

It looks like a 'fstab' problem for identity for the IDE drive. Boot your install CD/DVD and see how the drives are identified. How do you have the static file '/etc/fstab' setup for the drives?
 
Old 10-25-2010, 03:14 AM   #11
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by business_kid View Post
I misread your (very clear actually) replies.
Thanks for acknowledging my attempts at clarity .

Quote:
Originally Posted by business_kid View Post
An initrd loads modules your box needs with the kernel before the latter tries to boot and fails for the lack of them.
How can one change what it loads? What would need to be changed here?

Quote:
Originally Posted by business_kid View Post
Sounds like you still have a problem accessing the old drive? Try 'fdisk -l' and that should list you partitions, mounted and unmounted. Then you can try things on them individually.
No, I can access the drive, I copied the old /home(s) both from 11.0 and from 11.2 for backup purposes to my new 11.3_64, I just cant boot from them. fdisk shows all partitions, no sweat.

The problem with 11.2 is the start of X. Meanwhile I found out, that "/" and "/home" are even mounted. The "No screens found" message leaves me completely clueless, though.
 
Old 10-25-2010, 03:21 AM   #12
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by onebuck View Post
...It looks like a 'fstab' problem for identity for the IDE drive. Boot your install CD/DVD and see how the drives are identified. How do you have the static file '/etc/fstab' setup for the drives?
I have a working /etc/fstab. After I changed the "noauto" option the partitions are flawlessly and automatically mounted by the new 11.3_64 system and I can access them. The old drive is now /dev/sdb. When I switch the booting drive in the BIOS in an attempt to boot from it it becomes /dev/sda (what it was in the old machine. Poor thing, it died on me completely now, so I must really try to get the new one to run.)
 
Old 10-26-2010, 02:30 AM   #13
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,369

Rep: Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335
Well with the 2 disks in the system, you simply take a look in /dev/disk, and I believe you can list them any way you like out of that, and always get the same partition in the same place.
 
Old 10-26-2010, 03:09 AM   #14
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Original Poster
Rep: Reputation: Disabled
*hrmm-hrmm*

Well, there is no way to hide this blunder. But I tried to squirm around to bite my own arse.

The old box had a Riva TNT chip of NVidia. The new one has AMD/ATI graphics. Erm. Sorry.

I edited the old xorg.conf files and 11.2 can boot now.

11.0 and FreeBSD 8.0 still can't. And on 11.0 is our old homebanking program. *sigh*
 
  


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
Partition copy from SATA to IDE fails to boot (debian amd-64 rc2) siggma Linux - Server 2 03-01-2008 01:08 PM
Ide Drive Not Seen By The Kernel With Sata Disk As Boot Disk xasanchez Linux - Newbie 3 12-27-2007 12:18 PM
SUSE USB installation boot up fails dep. on IDE or SATA oozie Linux - Kernel 0 10-23-2006 05:00 PM
Dual Boot Machine, WinXP on SATA, Slack on IDE Poindexter Slackware 8 03-05-2006 06:31 AM
After adding ide to SATA(via) machine, boot fails - Fedora core 2 Jemsquash Linux - Hardware 6 09-21-2004 08:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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