LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 06-13-2005, 07:38 AM   #1
f1d094
LQ Newbie
 
Registered: Nov 2003
Posts: 5

Rep: Reputation: 0
Unhappy chroot to md0 for "rescue" from live CD???


By way of not having Pin preferences set properly, I just accidentally upgraded my libc6 library to "breezy" and have fuX0red my system.

My mistake was instantly obvious. Any references to the filesytem failed...the system slowly imploded and eventually locked when I tried to switch to tty1.

Selecting an older kernel or (recovery mode) results in a kernel panic as soon as it goes about 15 lines or so then:

VFS: Cannot open root device "md0" or unknown-block(0,0)

...this is for my oldest kernel "Ubuntu, kernel 2.6.10-5-amd64-generic (recovery mode)".

My most recent kernel "Ubuntu, kernel 2.6.11-1-amd64-k8 (recovery mode)" rocks along until:


mdadm: /devfs/md/0 has been started with 4 drives.
Stopping tasks: ====|
Freeing memory... done (1174 pages freed)
Restarting tasks... done
kjournald starting. Commit interval 5 seconds
EXT3-fs: mouned filesystem with ordered data mode.
exec: 428: chroot: not found
Kernel panic - not syncing: Attempted to kill init!

And that's it folks.

I am booting off of a USB drive and have root on md0 raidset (raid 5, 4 drives) with tmp and swap being separate LVMs spanned across the same drives in separate partitions.

I understand that I could *reinstall* from scratch...but I'm fairly certain that their should be a way to boot off of a "Live CD" mount/chroot my actual root dir on /dev/md0 and then "roll back" my boo boo.

I think I'm heading in the right direction, but I could really use some handholding, as I'm nervous as hell to have to start over...it took me a month and a half of weekends to get it to the state where it is (my first desktop!):

AMD64 3800+ 4x SATA 250GB NVidia Geforce 6800 Ultra, Dual Head video, transcode working, mplayer all custom scripted up with home brew perl interface to handle "deregionized" lite-on DVD players and adjust according to language, region, and format (pal vs ntsc), mythtv running the whole show...

I really really really really wanted to show this at the next LUG meeting (my first!)

Help me out here guys and show me how tight the Ubuntu community is! Help me to share my (few but tasty) morsels of knowledge!

:-)
 
  


Reply



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
FC3 rescue disc won't mount "Linux LVM" partition anymore. coolingtower Linux - General 0 01-23-2005 03:43 AM
serving website from inside chroot "Permissions" jeffpoulsen Linux - Security 1 07-01-2004 01:55 PM
Does "ac97 & RH8" imply "buy a Sound Blaster Live"? nicktoop Linux - Hardware 3 02-13-2004 08:53 AM
Hard disk now displaying "not a valid block device" when booting in rescue mode alphasure Linux - Hardware 4 06-05-2003 07:49 AM
Problem with "Jail Chroot Project 1.9" Agento- Linux - General 2 01-19-2003 07:52 AM

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

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