LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 12-23-2005, 09:26 AM   #1
Cidi Rome
LQ Newbie
 
Registered: Dec 2005
Posts: 17

Rep: Reputation: 0
Migrate System ICH7R from PATA to SATA.


Hi there.

This is my first post on this section, since I'm trying to switch from Suse to Debian...

My Problem:

I have a Debian 3.1r0 With Kernel 2.6.14.4 working now with this configuration...
ASUS P5LD2 (ICH7R)
Bios SATA setting is to compatibility mode.
HDA is the DVD-Rom drive
HDC is the SATA Hardrive (HDC1 as /; HDC2 as /home; HDC3 as /squid_cache; HDC4 as SWAP)

My goal:

Change the necessary configuration files (lilo.conf, fstab and any other that I hope you tell me) to get the system working like this:
ASUS P5LD2 (ICH7R)
BIOS SATA setting set to Enhaced mode.
sda should be the SATA Harddrive (sda1, sda2, etc...)
HDA should remain as the DVD-Rom Drive since it is connected to a PATA interface.

Any thoughts?

Best regards to everyone.

Last edited by Cidi Rome; 12-23-2005 at 12:29 PM.
 
Old 12-23-2005, 09:52 AM   #2
GrueMaster
Member
 
Registered: Aug 2005
Location: Oregon
Distribution: Kubuntu.
Posts: 848

Rep: Reputation: 30
If I remember correctly, full ICH7 SATA support is very recent in the 2.6 kernels and the latest 2.4 kernels (2.4.38). Also, if you google Linux ICH7, you'll find a link to Intel's supported driver.
 
Old 12-23-2005, 12:29 PM   #3
Cidi Rome
LQ Newbie
 
Registered: Dec 2005
Posts: 17

Original Poster
Rep: Reputation: 0
Thank you for your reply....

The kernel I'm using is the most recent one 2.6.14.4 (sorry, it was a typo, I'll correct it) and I think it supports ICH7R.
 
Old 12-23-2005, 03:35 PM   #4
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by Cidi Rome
Hi there.

This is my first post on this section, since I'm trying to switch from Suse to Debian...

My Problem:

I have a Debian 3.1r0 With Kernel 2.6.14.4 working now with this configuration...
ASUS P5LD2 (ICH7R)
Bios SATA setting is to compatibility mode.
HDA is the DVD-Rom drive
HDC is the SATA Hardrive (HDC1 as /; HDC2 as /home; HDC3 as /squid_cache; HDC4 as SWAP)

My goal:

Change the necessary configuration files (lilo.conf, fstab and any other that I hope you tell me) to get the system working like this:
ASUS P5LD2 (ICH7R)
BIOS SATA setting set to Enhaced mode.
sda should be the SATA Harddrive (sda1, sda2, etc...)
HDA should remain as the DVD-Rom Drive since it is connected to a PATA interface.

Any thoughts?

Best regards to everyone.
1. Download and burn Knoppix CD
2. Reboot and enter BIOS change to Enhanced make sure CD is higher boot priority than HD.
3. Boot Knoppix CD using knoppix 2 typed in at the boot: prompt.
4. Once booted to the command prompt dmesg | grep sda to make sure HD detected properly.
5. Use mount /dev/sda1 /mnt/sda1.
6. Edit the /etc/fstab and /etc/lilo.conf changing all instances of hda to sda.
7. Use chroot /mnt/sda1/ /sbin/lilo -v to write the changed lilo configuration.
8. Reboot (shutdown -r now) and if necessary enable booting from SATA in BIOS.

An extra step you want to do when the partition is mounted is to use lsmod to see which module is being using for the serial ata then grep -i name_of_sata_module /mnt/sda1/boot/config-2.6.14-?? to check if the module is present in your kernel and hopefully it has been included in the initrd otherwise you will get an unable to mount root file system error when booting from the sata.
 
  


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
Moving OS Install from PATA to SATA larsenmtl Linux - Hardware 3 11-13-2005 11:32 AM
SATA detected, but PATA not bioboi69 Linux - Hardware 0 10-23-2005 07:19 AM
Intel ICH7R SATA RAID 1 serioussam Debian 7 10-18-2005 05:51 AM
PATA with SATA cherif Linux - Hardware 3 12-08-2004 01:38 PM
FC2 Boot with PATA and SATA chinkai80 Fedora - Installation 0 08-02-2004 10:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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