MESSAGE
DATE | 2010-05-04 |
FROM | Ruben Safir
|
SUBJECT | Subject: [NYLXS - HANGOUT] [ruben@mrbrklyn.com: [raj@brainlink.com: Re: [nylug-talk]
|
Raj is a good friend of mine and he's in the middle of a migration of a server. If someone has some spare time, he can use a little bit of help.
Ruben
----- Forwarded message from Ruben Safir -----
X-Original-To: mrbrklyn-at-panix.com Delivered-To: mrbrklyn-at-panix.com Date: Mon, 3 May 2010 23:41:12 -0400 From: Ruben Safir To: mrbrklyn-at-panix.com Subject: [raj-at-brainlink.com: Re: [nylug-talk] pivot_Root problem] User-Agent: Mutt/1.5.20 (2009-06-14)
----- Forwarded message from Raj Goel -----
Date: Tue, 4 May 2010 03:29:33 +0000 From: Raj Goel To: Ruben Safir Subject: Re: [nylug-talk] pivot_Root problem
Vm has nothing to do with this.
Pure linux booting tshoot.
Know anyone else on the list who is good?
Rajesh Goel, CISSP cell (917) 685-7731 raj-at-brainlink.com CTO: Brainlink International, Inc. "IT Management and Solutions" http://www.brainlink.com/ http://www.linkedin.com/in/rajgoel
-----Original Message----- From: Ruben Safir Date: Mon, 3 May 2010 23:25:05 To: Raj Goel Cc: Ruben Safir Subject: Re: [nylug-talk] pivot_Root problem
On Tue, May 04, 2010 at 12:57:42AM +0000, Raj Goel wrote: > Ruben, > > If you could help me with this, I'd really appreciate this. > > Grub/initrd/bootloader are black magic to me.
Honestly, Grub is a black box to me as well, and I'd never used it with a virtual instance (or vmware). I'll see what research I can come up with tomorrow. But no doubt that if it can't move from the initrd run time image to the real file system then the bootloader is the problem
I understand the principles but the specifics keep advancing and virtualization makes it completely different.
Either the MBR is not being specified correctly or bootload record which isn't on the MBR isn't seeing the drive designations correctly.
In a nutshell, the OS bios reads the MBR which points to a start up program, GRUB in most cases, which has instructions that it follows.
Those instructions say, = Fetch and load a kernal image from partion xyz.
The image starts a kernal instance and ram disk and loads up a bunch of modules to run hardware. Then at the last step it swaps out the ram disk and loads the true root partition. That seems to be were your having your failure.
Ruben
> > Rajesh Goel, CISSP > cell (917) 685-7731 > raj-at-brainlink.com > CTO: Brainlink International, Inc. > "IT Management and Solutions" > http://www.brainlink.com/ > http://www.linkedin.com/in/rajgoel > > -----Original Message----- > From: Ruben Safir > Date: Mon, 3 May 2010 11:07:05 > To: NYLUG Technical Discussion > Subject: Re: [nylug-talk] pivot_Root problem > > On Mon, May 03, 2010 at 10:47:53AM -0400, Chris Knadle wrote: > > On Monday 03 May 2010 10:18, Raj Goel wrote: > > > Folks, > > > > > > I cloned a drive using dd_rescue to move it from an old server to > > > newer hardware. > > > > > > OS: Debian > > > Kernel: 2.4.27-3.386 kernel (yes, I know it's old - we want to test > > > upgrades/updates on the cloned system before implementing them on a > > > production system) > > It is very often the case with a move like this that you need to > reinstall the grub boot record. > > Ruben > > > > > I don't consider that kernel old. RHEL 5 is still using a modified 2.6.18... > > now /that's/ old. > > > > > The cloned PC crashes with the following error: > > > > > > Journalled Block Device driver loaded > > > pivot_root: No such file or directory > > > /sbin/init: 432: cannot open /dev/console: No such file > > > Kernel panic: attempted to kill init! > > > > > > Ideas? Suggestions? > > > > pivot_root is the older command that used to run within the initrd image in > > order to swap out the mounted initrd image with the real root filesystem on > > the hard disk, once the kernel had the necessary modules loaded from the > > initrd image to be able to communicate with the hard disk. In other words, I > > think the problem your kernel is currently having is that it's not able to > > mount the root filesystem on the hard disk. > > > > As to_why_ that's happening, I don't know. Check over the boot loader > > configs, then check the files pointed to by the boot loader (kernel and > > initrd images). Make sure all of those seem to be the same as what was on > > the original disk. > > > > Additionally, keep in mind that if you're switching boxes, the kernel is > > architecture-specific. As such you might tell us vaguely what the > > architecture of both boxes are to figure out if that's related at all. > > > > -- Chris > > > > Chris Knadle > > Chris.Knadle-at-coredump.us > >_____________________________________________________________________________ > > Hire expert Linux talent by posting jobs here :: http://jobs.nylug.org > > The nylug-talk mailing list is at nylug-talk-at-nylug.org > > The list archive is at http://nylug.org/pipermail/nylug-talk > > To subscribe or unsubscribe: http://nylug.org/mailman/listinfo/nylug-talk > > -- > http://www.mrbrklyn.com - Interesting Stuff > http://www.nylxs.com - Leadership Development in Free Software > > So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of the world - RI Safir 1998 > > http://fairuse.nylxs.com DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002 > > "Yeah - I write Free Software...so SUE ME" > > "The tremendous problem we face is that we are becoming sharecroppers to our own cultural heritage -- we need the ability to participate in our own society." > > "> I'm an engineer. I choose the best tool for the job, politics be damned.< > You must be a stupid engineer then, because politcs and technology have been attached at the hip since the 1st dynasty in Ancient Egypt. I guess you missed that one." > > ? Copyright for the Digital Millennium >_____________________________________________________________________________ > Hire expert Linux talent by posting jobs here :: http://jobs.nylug.org > The nylug-talk mailing list is at nylug-talk-at-nylug.org > The list archive is at http://nylug.org/pipermail/nylug-talk > To subscribe or unsubscribe: http://nylug.org/mailman/listinfo/nylug-talk
-- http://www.mrbrklyn.com - Interesting Stuff http://www.nylxs.com - Leadership Development in Free Software
So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of the world - RI Safir 1998
http://fairuse.nylxs.com DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
"Yeah - I write Free Software...so SUE ME"
"The tremendous problem we face is that we are becoming sharecroppers to our own cultural heritage -- we need the ability to participate in our own society."
"> I'm an engineer. I choose the best tool for the job, politics be damned.< You must be a stupid engineer then, because politcs and technology have been attached at the hip since the 1st dynasty in Ancient Egypt. I guess you missed that one."
? Copyright for the Digital Millennium
----- End forwarded message -----
-- http://www.mrbrklyn.com - Interesting Stuff http://www.nylxs.com - Leadership Development in Free Software
So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of the world - RI Safir 1998
http://fairuse.nylxs.com DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
"Yeah - I write Free Software...so SUE ME"
"The tremendous problem we face is that we are becoming sharecroppers to our own cultural heritage -- we need the ability to participate in our own society."
"> I'm an engineer. I choose the best tool for the job, politics be damned.< You must be a stupid engineer then, because politcs and technology have been attached at the hip since the 1st dynasty in Ancient Egypt. I guess you missed that one."
? Copyright for the Digital Millennium
----- End forwarded message -----
|
|