LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 01-09-2013, 08:46 PM   #1
afreitascs
Member
 
Registered: Aug 2004
Location: Brasil
Distribution: Slackware_Cur-64_mult
Posts: 433

Rep: Reputation: 30
Exclamation put hd with slackware-current multilib installed on another machine


My pc has defect.

I can remove the hd and put it in another machine?
Or must reinstall slackware, that other machine?

pc defective motherboard ---> asus M4A78LT-M LE (Phenom 910)

motherboard where want to put the hd ---> Gigabyte GA-MA78GM-sh2 (athlon 64 x2 5200 +)

many thanks

Last edited by afreitascs; 01-10-2013 at 07:51 AM.
 
Old 01-09-2013, 09:08 PM   #2
zrdc28
Member
 
Registered: Dec 2007
Location: Alabama USA
Distribution: Slackware current
Posts: 250

Rep: Reputation: 40
I have done that exact thing several times and it worked ok. You might have to do a little reconfiguring.
 
Old 01-09-2013, 09:12 PM   #3
afreitascs
Member
 
Registered: Aug 2004
Location: Brasil
Distribution: Slackware_Cur-64_mult
Posts: 433

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by zrdc28 View Post
I have done that exact thing several times and it worked ok. You might have to do a little reconfiguring.
thank you very much
 
Old 01-10-2013, 07:46 AM   #4
afreitascs
Member
 
Registered: Aug 2004
Location: Brasil
Distribution: Slackware_Cur-64_mult
Posts: 433

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by zrdc28 View Post
I have done that exact thing several times and it worked ok. You might have to do a little reconfiguring.
I got kernel panic!!!

Please which reconfigurations ???

thanks

Last edited by afreitascs; 01-10-2013 at 07:51 AM.
 
Old 01-10-2013, 08:08 AM   #5
tuxbg
Member
 
Registered: Sep 2012
Location: Bulgaria,Varna
Distribution: Slackware64
Posts: 249

Rep: Reputation: Disabled
Quote:
Originally Posted by afreitascs View Post
I got kernel panic!!!

Please which reconfigurations ???

thanks
Look in lilo.conf what is a root=/dev/sd?
Do you have another hdd on the other computer.
 
Old 01-10-2013, 10:01 AM   #6
afreitascs
Member
 
Registered: Aug 2004
Location: Brasil
Distribution: Slackware_Cur-64_mult
Posts: 433

Original Poster
Rep: Reputation: 30
well ... The slackware up! The cause of the "kernel panic" was an installation of windows I have in another partition. I edited the lilo.config and resolved!

but I can not I connect to internet!!

My network card was eth0, but now it is [as the eth1!

any idea

thanks
 
Old 01-10-2013, 10:13 AM   #7
phenixia2003
Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 291

Rep: Reputation: 166Reputation: 166
Hello,

Quote:
Originally Posted by afreitascs View Post
but I can not I connect to internet!!

My network card was eth0, but now it is [as the eth1!

any idea

thanks
1- edit /etc/udev/rules.d/70-persistent-net.rules
or
2- delete /etc/udev/rules.d/70-persistent-net.rules and restart udev (or reboot).

--
Seb
 
Old 01-10-2013, 10:15 AM   #8
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
I move hard drives from one machine to another. I don't know your hardware, but the following files might need attention when moving the hard drive. I emphasize "might" because only you can determine which changes are needed.

BIOS
Many people connect SATA devices to any port. When the port order differs from the connection order, the BIOS will search in the SATA port order. A good policy is to connect the first SATA device to SATA port 1, the second SATA device to SATA port 2, etc. One way around this is to use UUIDs in fstab. Use the /sbin/blkid command to learn the UUID of a device.

Boot loader (grub, lilo, etc.)
Make sure the boot loader references the correct hard drive root partition and if necessary, initrd file path and name.

fstab
If there is more than one hard drive in the machine then fstab might need to be edited.

Those first three items are critical to booting. The remainder in this list affect performance but will not prohibit booting.

udev rules (always do this)
rm -f /etc/udev/rules.d/70-persistent*.rules

xorg.conf
When using an xorg.conf, the file might need to be edited.

Sound card settings
/etc/modprobe.d/sound.conf
/var/lib/alsa/asound.state or /etc/asound.state

modprobe.d
The blacklist used for one system might not be appropriate for another system.

conkyrc

When moving a hard drive back and forth between different machines, the best approach is to retain different copies of the affected files. Write a simple shell script to copy the appropriate version before moving the drive.

Regarding a kernel panic, look at the boot loader or fstab. Verify the root partition is correct.
 
Old 01-10-2013, 11:16 AM   #9
afreitascs
Member
 
Registered: Aug 2004
Location: Brasil
Distribution: Slackware_Cur-64_mult
Posts: 433

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by phenixia2003 View Post
Hello,



1- edit /etc/udev/rules.d/70-persistent-net.rules
or
2- delete /etc/udev/rules.d/70-persistent-net.rules and restart udev (or reboot).

--
Seb
Ok! resolved. I am free again

thanks

----------------------

Quote:
Woodsman

I move hard drives from one machine to another. I don't know your hardware, but the following files might need attention when moving the hard drive. I emphasize "might" because only you can determine which changes are needed.

BIOS
Many people connect SATA devices to any port. When the port order differs from the connection order, the BIOS will search in the SATA port order. A good policy is to connect the first SATA device to SATA port 1, the second SATA device to SATA port 2, etc. One way around this is to use UUIDs in fstab. Use the /sbin/blkid command to learn the UUID of a device.

Boot loader (grub, lilo, etc.)
Make sure the boot loader references the correct hard drive root partition and if necessary, initrd file path and name.

fstab
If there is more than one hard drive in the machine then fstab might need to be edited.

Those first three items are critical to booting. The remainder in this list affect performance but will not prohibit booting.

udev rules (always do this)
rm -f /etc/udev/rules.d/70-persistent*.rules

xorg.conf
When using an xorg.conf, the file might need to be edited.

Sound card settings
/etc/modprobe.d/sound.conf
/var/lib/alsa/asound.state or /etc/asound.state

modprobe.d
The blacklist used for one system might not be appropriate for another system.

conkyrc

When moving a hard drive back and forth between different machines, the best approach is to retain different copies of the affected files. Write a simple shell script to copy the appropriate version before moving the drive.

Regarding a kernel panic, look at the boot loader or fstab. Verify the root partition is correct.

Thanks for warnings
 
  


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
[SOLVED] problem installing webcam slackware-current 64 multilib afreitascs Slackware 3 12-24-2012 09:17 PM
Slackware current multilib diwljina Slackware 6 07-21-2012 08:31 PM
[SOLVED] Cannot compile C++ on Slackware Current (multilib) halborr Slackware 5 02-27-2012 10:28 PM
[SOLVED] libofa-0.9.3 in slackware-64 current multilib escaflown Slackware 7 03-11-2010 08:20 PM
slackware-current 64 multilib portia Slackware 9 12-28-2009 10:08 AM


All times are GMT -5. The time now is 08:16 PM.

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