LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-22-2009, 10:51 PM   #1
garydale
Member
 
Registered: Feb 2007
Posts: 142

Rep: Reputation: 23
sotware raid - don't forget to update your initramfs!


Just a quick tip to avoid a problem I just encountered. Yesterday I'd added a new drive to my software raid array but forgot to update the initramfs. While this isn't a problem for RAID 1, it probably is for most other RAID levels.

The end result was I could boot but not mount the root file system because Linux didn't seem to know about the extra drive. I'm running Debian so I got dropped into a busybox that didn't quite have enough features (namely no ability to create a mount point for my arrays) to resolve the problem.

I ended up downloading a Debian NetInst disk and using it in rescue mode. After starting my RAID arrays, I mounted and chrooted to the root array, mounted the /boot RAID 1 partition and updated the initramfs.

Problem resolved.
 
Old 09-30-2009, 04:52 PM   #2
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
This general problem seems to have been more common in the past than it is these days. Don't know if that's because RAID is handled better automatically by most distros, or because fewer people are using RAID, or what. Still, good general advice...and I didn't know that about Debian's busybox tool set.
 
  


Reply

Tags
linux, raid, software, undefined



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
update-initramfs is failing - how can I discover the cause? Mountain Linux - General 1 04-09-2009 05:44 PM
update-initramfs is failing on debian testing upgrade chadwick Linux - General 2 03-28-2008 12:19 AM
update-initramfs -u Geminias Linux - Newbie 1 07-30-2007 04:04 AM
Ubuntu: 6.10: Too many "update-initramfs" lines in update tarobs Ubuntu 5 02-03-2007 07:41 AM
How do i uninstall sotware? mgyamada Linux - Newbie 6 06-18-2004 04:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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