LinuxQuestions.org
Visit Jeremy's Blog.
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 11-25-2005, 01:08 AM   #1
cov
Member
 
Registered: Apr 2005
Location: Durban
Posts: 365

Rep: Reputation: 30
New MBoard changes SATA to IDE


Hi,

A lightning strike killed my Shuttle SN85G4 V2 Motherboard.

I have managed to replace the motherboard, but it is with a V3 board.

Previously Grub booted up on /dev/sda1, but now the Serial ATA HD is on /dev/hde.

I have used systemrescueCD (http://www.sysresccd.org/ - an extremely useful solution) to boot the machine and have edited /boot/grub/menu.1st
file so that all referemces to /dev/sda are changed to /dev/hde

The /etc/fstab has been similarly ammended.

However the machine can't find /dev/hde1 or /dev/hde5 and just says:

'- exiting to /bin/sh
sh: can't access tty; job control turned off'

Any ideas?
 
Old 11-26-2005, 02:58 AM   #2
DaveG
Member
 
Registered: Nov 2001
Location: London, UK
Distribution: Fedora 16
Posts: 160

Rep: Reputation: 43
Check the BIOS settings. I had a similar issue after upgrading the BIOS on my SB75G2. There is a setting somewhere that determines how the SATA drives map in to the BIOS device numbering.
 
Old 11-26-2005, 03:12 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,271

Rep: Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028
Agreed - sometimes "enhanced" mode, sometimes "legacy".
Just play around ...
 
Old 11-27-2005, 01:08 AM   #4
cov
Member
 
Registered: Apr 2005
Location: Durban
Posts: 365

Original Poster
Rep: Reputation: 30
Thanks for that.

I've actually been in the bios but couldn't see anything that could help.

I'll have another look.....
 
Old 11-27-2005, 01:21 AM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,271

Rep: Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028
In which case it probably means you don't have the appropriate kernel selections enabled - different chipset with the new mobo.
 
Old 11-27-2005, 02:25 AM   #6
cov
Member
 
Registered: Apr 2005
Location: Durban
Posts: 365

Original Poster
Rep: Reputation: 30
Aaaargh!

This is a bit of a bummer. It's years since I recompiled a kernel.

Probably have to boot up in the rescue cd and chroot to /dev/hde1 and recompile from there....
 
Old 11-27-2005, 09:19 AM   #7
DaveG
Member
 
Registered: Nov 2001
Location: London, UK
Distribution: Fedora 16
Posts: 160

Rep: Reputation: 43
FYI on my SB75G2 (Phoenix AwardBIOS) the settings are under Integrated Peripherals -> OnChip IDE Device -> On-Chip Serial ATA. Options are Disabled, Auto, Combined Mode, Enhanced Mode or SATA only.

I think mine is set to Enhanced Mode. The SATA disk is /dev/sda under Linux, hd(0,0) under grub. My DVD is /dev/hdc, probably wired on the secondary IDE as a master.

After upgrading the BIOS the SATA mode got reset to Disabled!

Hope this helps.
 
Old 11-29-2005, 06:00 AM   #8
cov
Member
 
Registered: Apr 2005
Location: Durban
Posts: 365

Original Poster
Rep: Reputation: 30
I'm afraid that I have 3 options on my Pheonix AwardBIOS:

Onboard IDE Device[Press Enter]
Onboard PCI Device[Press Enter]
Onboard SuperIO Device[Press Enter]

Pressing enter on 'Onboard IDE Device[Press Enter]'
leads to:
RAID Function Setup[Press Enter]
OnChip IDE Channel0[Enabled]
...[auto]
...[auto]
OnChip IDE Channel1[Enabled]
...[auto]
...[auto]
Serial-ATA 2(Internal PHY)[Enabled]

Can't see much as you describe...

Haven't had much luck recompiling the Kernel either
 
Old 12-07-2005, 03:30 AM   #9
cov
Member
 
Registered: Apr 2005
Location: Durban
Posts: 365

Original Poster
Rep: Reputation: 30
Well this thing had me beat.

Can't see why it should change /dev/sda to /dev/hde.

Still, I used the installation disks, selected 'Repair' and it repaired it back to /dev/sda.

Not sure how, or why.
 
  


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
IDE vs SATA? new.thing Linux - Hardware 5 07-12-2005 10:38 AM
/ is sata, can't find another IDE hd momaley Linux - Hardware 5 11-06-2004 02:21 PM
SATA, IDE and mandrake 10 blackdog64 Linux - Newbie 2 09-22-2004 05:22 PM
IDE, SATA and 2.4.22 problem eiffel Linux - Hardware 4 10-14-2003 04:00 PM
how2 make the kernel scan both PCI IDE and Mboard IDE channels? carboncopy Slackware 1 07-23-2003 03:26 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration