LinuxQuestions.org
Review your favorite Linux distribution.
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 12-15-2009, 09:04 PM   #31
smaddox
LQ Newbie
 
Registered: Sep 2009
Posts: 11

Rep: Reputation: 0
related


I'm using LVM over software RAID 1, and I just spent 2 hours trying to recover from the "Please append a correct "root=" boot option" kernel panic after a kernel upgrade.

I thought I would post the solution in case anyone else has a similar problem.

If you run `lilo` and it says something about not being able to boot `non-linear` partitions, then you are having the same problem. It turns out that lilo can't boot to a 'non-linear' partition (AKA a partition with snapshots made of it), which turned out to be the problem. I was making snapshots before the upgrade in case I wanted to revert afterwards. Well, this isn't allowed.

I was able to boot in by hitting TAB during lilo boot-strapping and selecting LinuxOLD as the boot image. Alternatively, you should be able to get a shell using a recover disc.

The solution:
1. Remove the snapshots (on boot partition and probably root partition, too)
2. Run `lilo` so that it can load the config. If it gives no errors, you should be home free. Restart and see if it works.
 
Old 12-16-2009, 10:21 AM   #32
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
Interesting, but FYI GRUB 0.97 has no problem with "non-linear" partitions, so you can keep your snapshots.
 
Old 12-16-2009, 01:40 PM   #33
smaddox
LQ Newbie
 
Registered: Sep 2009
Posts: 11

Rep: Reputation: 0
Does GRUB do LVM on RAID?

Does GRUB 0.97 do LVM on RAID? For some reason the installer used LILO. I assumed it was for a good reason, but if GRUB works, I would prefer it, anyways.
 
Old 12-16-2009, 01:49 PM   #34
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
Grub does LVM on RAID with LUKS encryption and dmraid too if you need it too, all at the same time.
 
Old 12-16-2009, 01:53 PM   #35
smaddox
LQ Newbie
 
Registered: Sep 2009
Posts: 11

Rep: Reputation: 0
Awesome

Awesome. Now, I don't suppose you could tell me how to switch it over? If it's just simply installing and configuring GRUB I can probably figure it out, but do you have to do something to have it automatically update the bootlist on a kernel upgrade?
 
Old 12-17-2009, 11:25 AM   #36
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
I didn't do anything special, but I run Slackware so if and when I ever do a kernel upgrade, it's manual and so is my tinkering with menu.lst. Actually one of my gripes with distros like Ubuntu is that it is so very easy to hose your system with all those frequent kernel upgrades. But I digress. Just install it as usual, there should be a ton of HOWTOs out there. Check out google looking particularly at grub and raid and ubuntu, it might help you not trip over anything. Be careful with the disk numbers according to BIOS and according to grub and according to ubuntu - they can be different.
 
  


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] Slackware 12.1 + RAID 1 + LVM: Can't boot with or without encrypted filesystem gargamel Slackware 29 08-04-2011 06:19 AM
Recover encrypted LUKS partition itinlopez Linux - General 3 11-30-2008 02:20 AM
Slackware 12.1, LUKS, LVM on external HD. How? randomsel Slackware - Installation 7 06-26-2008 06:35 PM
Windows on LUKS LVM Post Slackware 12.1 Install -{Jester}- Slackware 4 05-23-2008 01:10 AM
LXer: Encrypted Root LVM LXer Syndicated Linux News 0 05-14-2008 01:00 PM

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

All times are GMT -5. The time now is 06:01 AM.

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