LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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
 
LinkBack Search this Thread
Old 09-22-2009, 10:51 PM   #1
garydale
Member
 
Registered: Feb 2007
Posts: 116

Rep: Reputation: 22
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: currently under revision
Posts: 1,187

Rep: Reputation: 106Reputation: 106
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


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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


All times are GMT -5. The time now is 05:45 PM.

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
Open Source Consulting | Domain Registration