LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux > 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

Tags used in this thread
Popular LQ Tags , , ,

Reply
 
Thread Tools
Old 09-22-2009, 11:51 PM   #1
garydale
Member
 
Registered: Feb 2007
Posts: 59
Thanked: 1
sotware raid - don't forget to update your initramfs!


[Log in to get rid of this advertisement]
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.
linuxdebian garydale is offline  
Tag This Post , , ,
Reply With Quote
Old 09-30-2009, 05:52 PM   #2
mostlyharmless
Member
 
Registered: Jan 2008
Distribution: Slackware 12.1
Posts: 816
Thanked: 44
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.
windows_xp_2003 mostlyharmless is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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


All times are GMT -5. The time now is 07:51 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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration