LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 02-07-2013, 08:50 AM   #1
irgunII
Member
 
Registered: Jan 2012
Location: Directly above the center of the earth
Distribution: Slackware. There's something else?
Posts: 383

Rep: Reputation: 72
New, second hdd, gives kernel panic in startup...


I got myself a second hdd to use as a backup (I like using luckyBackup).

I also decided to upgrade some hardware so that what I have now from my old system I can use to put together a much, much faster and more stable system for my 73 year old mom.

So, I got myself a new (to me) MOBO (ASUS M5A97LE R2.0), new Athlon cpu (old=athlon II X2 250, new=athlon II X2 260), similar video card (old=GeForce GT520 1GB w/ HDMI, DVI and VGA. new=GeForce GT520 1GB w/ two DVI), and a new(ish) hdd (160GB pull from a Dell).

Got everything installed and figured I'd not hook up the original hdd and instead hook up the new hdd and install Slackware 14 on it. This seemed to work okay *until* I hooked up the other hdd, set them up which to start first (1-DVD, 2-old hdd, 3-new hdd) in BIOS.

Things start fine and I get to the screen where all the stuff is scrolling by at a million miles per second and then suddenly freezes with a kernel panic.

I unplug the new hdd and try again and it freezes again with a kernel panic. Now I start to worry a little.

Somehow I figured out how to get the old hdd fired up and running and went to my lilo.conf and commented out the stuff for the old backup hdd and ran lilo.

Rebooted and it worked...my old hdd fired right up like normal and all is normal except I have no backup hdd at the moment.

I plugged the new hdd in and fired up the system with the Slackware disc in the dvd.

Unfortunately fdisk sees my old, original hdd as sdb and the new backup hdd as sda, but I figure I'll work around it and go ahead and load everything for the new hdd. It won't accept the lilo I make for it though and can't figure out why. And again, when I reboot, it stops with a kernel panic until I unplug the new hdd and reboot and everything is fine.

I have three partitions on each hdd - swap, /, and /home. I also always put lilo in / and not the MBR.

Any ideas what the heck I'm screwing up? I really hate using the system without a backup, 'cause I'm always tinkering and I eventually mess things up enough that I need to use the backup, heh.
 
Old 02-07-2013, 10:50 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,260

Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
Quote:
fdisk sees my old, original hdd as sdb and the new backup hdd as sda,
Jumpers on the disks. Master/slave stuff?
 
Old 02-07-2013, 11:16 AM   #3
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
Use labels from a live parted magic/rescue cd or use uuids.
change fstab
there is no need to adjust jumpers.
 
Old 02-08-2013, 06:02 PM   #4
irgunII
Member
 
Registered: Jan 2012
Location: Directly above the center of the earth
Distribution: Slackware. There's something else?
Posts: 383

Original Poster
Rep: Reputation: 72
Okay...have it sorted out a little more, but still have a problem.

The kernel panic stopped when I either a)took the jumper completely off my normal hdd I boot into, or b)changed up the way the sata cables were plugged into the MoBo (I had my normal hdd at #4, the new hdd at #5, they're now at #1 and #2 respectively), or c)or both

I'm now able to boot back to my normal hdd. I changed the fstab of the new hdd to have sdb instead of sda.

Unfortunately, from my normal hdd I can't see the /home partition of the new hdd though I *can* see the / partition of the new hdd obviously since I changed the fstab...which is weird.

I also can't boot into the new hdd as all I have are two DVI connections on my video card so that when I try I eventually get a 'not supported' type of message.

So, how do I:

Get a /home partition on the new hdd? Can I boot up a parted magic live DVD and just add it or how does that work?

Get past the problem of not being able to see anything with no VGA adapter and only DVI?

Last edited by irgunII; 02-08-2013 at 06:03 PM.
 
Old 02-08-2013, 07:54 PM   #5
tux_dude
Member
 
Registered: Dec 2008
Distribution: Slackware64 Current
Posts: 277

Rep: Reputation: 41
Did you update your fstab to uuid as suggested? If the system if booting successfully, you can mount the non-root drive manually to the desired directory. Once you have it mounted, update the fstab accordingly.
 
Old 02-08-2013, 08:36 PM   #6
irgunII
Member
 
Registered: Jan 2012
Location: Directly above the center of the earth
Distribution: Slackware. There's something else?
Posts: 383

Original Poster
Rep: Reputation: 72
Quote:
Originally Posted by tux_dude View Post
Did you update your fstab to uuid as suggested? If the system if booting successfully, you can mount the non-root drive manually to the desired directory. Once you have it mounted, update the fstab accordingly.
I don't know how to update it to uuid, I simply changed anything that said 'sda' to 'sdb' in kate and saved it.

I'll try to see if I can mount the drive like you said. I don't know how on the cli, but maybe I can find something in krusader that will do it for me.
 
Old 02-09-2013, 12:16 AM   #7
irgunII
Member
 
Registered: Jan 2012
Location: Directly above the center of the earth
Distribution: Slackware. There's something else?
Posts: 383

Original Poster
Rep: Reputation: 72
Okay, got it all figured out. Seems I've been on a day and a half of stupid. Simply forgot to ad a user and then forgot that there's not going to be any files or directories in /home until I start putting stuff in it...so I was seeing 'nothing' and thinking there was no /home partition.

Anyway, both hdd's now start up (I had to borrow a video card that had a vga adapter and then copied the nvidia installer from my main hdd to the spare one and installed it so that I could use my DVI adapter on my own card).

Thanks for the suggestions and help everyone, much appreciated.
 
  


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
[SOLVED] new HDD brings kernel panic gujedan Linux - Hardware 1 02-06-2011 01:25 PM
kernel panic on startup tim1348 Slackware - Installation 6 11-08-2006 07:28 AM
Kernel Panic on mirroring HDD ALInux Debian 2 07-31-2006 07:38 AM
Kernel Panic (hdd problem) frzburn Linux - Hardware 1 02-17-2004 12:45 PM
Installed new HDD - Kernel PANIC!!! Thyriel Linux - Hardware 3 08-22-2003 02:47 AM

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

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