LinuxQuestions.org
Visit Jeremy's Blog.
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 03-28-2014, 10:00 PM   #1
JamesGT
Member
 
Registered: Oct 2009
Location: St. Louis, MO, USA
Distribution: Slackware64 14.0
Posts: 196

Rep: Reputation: 40
Drives reordered, now it won't boot?


I had 3 drives in my Slackware 14.0 machine. I removed one to put into another machine and all the drives are now reordered and it won't boot.

My original boot drive was SDC1. When I removed one of my drives, it became SDB1.

I booted with parted magic and updated the lilo.conf and fstab, but obviously there is something else I am missing.

What do I need to do to get my system to boot normally again?
 
Old 03-28-2014, 10:21 PM   #2
astrogeek
Senior Member
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=14, FreeBSD_10{.0|.1|.2}
Posts: 2,887

Rep: Reputation: 1254Reputation: 1254Reputation: 1254Reputation: 1254Reputation: 1254Reputation: 1254Reputation: 1254Reputation: 1254Reputation: 1254
Quote:
Originally Posted by JamesGT View Post
I had 3 drives in my Slackware 14.0 machine. I removed one to put into another machine and all the drives are now reordered and it won't boot.

My original boot drive was SDC1. When I removed one of my drives, it became SDB1.

I booted with parted magic and updated the lilo.conf and fstab, but obviously there is something else I am missing.

What do I need to do to get my system to boot normally again?
Did you run lilo after updating lilo.conf?

UPDATED: - For the best overview of how drives are ordered in BIOS and kernel, click here.

As you are using lilo as the boot loader, you will need to boot using the install media (probably DVD), mount the Slackware root partition and chroot into it.

Then edit your lilo.conf and change references to devices such as /dev/sdb1 to use the actual device ids or uuids.

You will find those in /dev/disk/by-{id,uuid}/...

MBR references (usually in boot and other stanzas) will need to use /dev/disk/by-id/... while root references will be /dev/disk/by-uuid/...

Image and initrd references will need to be mounted and the actual mount paths specified when you run lilo.

Then run lilo and reboot.

fstab should be updated to use uuid references as well.

This will make boot management independent of drive ordering, as it should be.

Last edited by astrogeek; 03-28-2014 at 11:01 PM.
 
1 members found this post helpful.
  


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
centos 4.4 - 3 of 4 hard drives removed now won't boot- can't find lv so kernel panic smileamiledr Linux - Newbie 2 01-17-2010 08:42 AM
Valhalla 7.3 System won't boot without both hard drives installed AOI_Bandit Linux - Hardware 1 08-04-2008 03:11 PM
two hard drives, XP and Ubuntu, recognizes but won't boot XP sasso@fordham.edu Linux - Newbie 18 06-11-2008 03:23 PM
Dual boot won't work with two hard drives cxiii Slackware 3 10-17-2005 09:31 PM
RAID drives won't mount at boot time dsp444 Slackware 5 01-23-2005 12:43 AM


All times are GMT -5. The time now is 06:45 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration