LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-07-2010, 02:52 AM   #1
adrian2009
Member
 
Registered: May 2009
Posts: 40

Rep: Reputation: 15
Problems after slackware upgrade to current - can't boot


I just upgraded Slackware 13.0 to current on one of my machines, but i can't boot to linux now, it says "VFS cannot open root device "308" or unknown-block....Please append a correct "root=" boot option, here are the available partitions" and below are the partitions on my computer but with sd* names instead of hd*, hda8 is sda8, hdb1 is sdb1 etc.

I tried this: I boot using the slackware cd-1, then i did this:
mkdir /mnt/slack
mount /dev/hda8 /mnt/slack
mount --bind /dev/ /mnt/slack
mount -t proc proc /mnt/slack/proc

chroot /mnt/slack /bin/bash

Then i tried changing the lilo.conf file and changing the names from hd* to sd*, but when i did lilo -v it showed me error, and when i tried booting again, the lilo setup was not changed, so it means lilo did not execute properly. (It showed some warrnings/errors when i ran lilo, something like "Warning: LBA32 addressing assumed")

I don't know what to do now, please help me, thank you.
Please tell me
 
Old 04-07-2010, 03:25 AM   #2
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,057

Rep: Reputation: 328Reputation: 328Reputation: 328Reputation: 328
yes, its kinda disconcerting heh?

So, you gotta change your /etc/fstab and /etc/lilo.conf

and this is how I chroot into my install; if mounted on /media/disk, change for yours-

Code:
mount --bind /dev/ /media/disk/dev
mount -t proc none /media/disk/proc
mount -t sysfs none /media/disk/sys
mount -t devpts none /media/disk/dev/pts

export HOME=/root
export LC_ALL=C
and chroot in

Code:
chroot /media/disk
then edit /etc/lilo.conf and /etc/fstab
change any hdxx to sdxx, you know

then do

Code:
/sbin/lilo
then exit and umount

Code:
exit
umount -l -f /media/disk/proc
umount -l -f /media/disk/sys
umount /media/disk/dev/pts
umount /media/disk/dev
I usually use a livecd for this...
 
Old 04-07-2010, 05:14 AM   #3
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,189

Rep: Reputation: Disabled
You ran into the issue described in http://alien.slackbook.org/blog/robb...tchover-howto/ (thanks to Robby Workman for writing up the fix procedure)

Eric
 
Old 04-07-2010, 05:46 AM   #4
symatic
Member
 
Registered: May 2007
Distribution: Slackware
Posts: 242

Rep: Reputation: 32
I found that UUID is very useful when using the new libata. Soft raid sata and ide mixed nightmare in this box. If Slackware supports UUID I would look into messing around with that, ive never used it with slack. Works wonderfully in other distros though.
 
Old 04-07-2010, 01:35 PM   #5
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,189

Rep: Reputation: Disabled
Using UUID or LABEL to define your root partition in /etc/fstab works (I use "LABEL=" myself). It works too in /etc/lilo.conf where you define "root = <devicename>".

Eric
 
  


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
Slackware-current (aug) upgrade to slackware 13? jensklas Slackware 20 09-02-2009 11:52 AM
DISCUSSION: Upgrade to Slackware -current without a -current CD truthfatal LinuxAnswers Discussion 0 09-19-2006 01:42 PM
How to upgrade from Slackware 10.1 to current? Basel Slackware 21 07-18-2005 07:00 AM
Slackware-Current: Qt upgrade issues Neruocomp Slackware 1 04-03-2005 12:24 PM
Is it safe to upgrade everything to Slackware Current? moger Slackware 17 01-18-2004 10:32 AM


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