[plug] SATA drives on another system
Andrew Howell
andrew at it.net.au
Thu Jan 29 22:37:32 WST 2009
Check http://linux.m2osw.com/pivot_root.html
According to that it seems like the device name of your drives has probably
changed.
Were they mirrored? Did you plug them in a different order? It sounds like
the root partition isn't on sda1 anymore at a guess.
I'd suggest booting with a rescue cd and checking where the root partition
actually is.
Andrew
2009/1/29 Jon L. Miller <jlmiller at mmtnetworks.com.au>
> Andrew,
> I'm using Debian Sarge.
>
> Jon
> On Thu, January 29, 2009 14:34, Andrew Howell wrote:
> > I'd say your initrd image doesn't have the correct SATA driver now.
> > Are you using Fedora or RHEL?
> >
> > I think you need to boot off a fedora/redhat rescue cd and then chroot to
> > your root partition and run mkinitrd to make a new initrd.
> > You probably need to edit /etc/modprobe.conf and change the
> > scsi-controller
> > alias to use the correct sata driver.
> >
> > Andrew
> >
> > 2009/1/29 Jon L. Miller <jlmiller at mmtnetworks.com.au>
> >
> >> I've had to put a pair of SATA drives on another system (motherboard
> >> failure) and now I get the following on booting up:
> >> /lib/modules/2.4.27-2-386/kernel/drivers/scsi/sata_sis.o
> >> Journalled Block Device driver load
> >> pivot_root: No such file or directory
> >> sbin/init: 432 Cannot open dev/console: no such file
> >> Kernel pani: attempted to kill init
> >>
> >> >From there it stops, if I go into Grub when it's booting (pressing "e")
> >> I
> >> issue the commands:
> >> Kernel /boot/vmlinuz-2.4.27-2-386 root=/dev/sda1 ro
> >> initrd /boot/initrd.img-2.4.27-2-386
> >> savedefault
> >> boot
> >>
> >> The savedefault command fails with an invalid command.
> >>
> >> Anyone know how I can get this server back up and running? It's only for
> >> a
> >> short time period?
> >>
> >>
> >>
> >> --
> >> --------------------------------
> >> Jon L. Miller MCNE CNE CCNA
> >> East Perth, WA 6004
> >> WA, Australia
> >> --------------------------------
> >>
> >> _______________________________________________
> >> PLUG discussion list: plug at plug.org.au
> >> http://www.plug.org.au/mailman/listinfo/plug
> >> Committee e-mail: committee at plug.linux.org.au
> >>
> >
> >
> >
> > --
> > Andrew Howell
> > andrew at it.net.au
> > _______________________________________________
> > PLUG discussion list: plug at plug.org.au
> > http://www.plug.org.au/mailman/listinfo/plug
> > Committee e-mail: committee at plug.linux.org.au
> >
>
>
> --
> --------------------------------
> Jon L. Miller MCNE CNE CCNA
> East Perth, WA 6004
> WA, Australia
> --------------------------------
>
> _______________________________________________
> PLUG discussion list: plug at plug.org.au
> http://www.plug.org.au/mailman/listinfo/plug
> Committee e-mail: committee at plug.linux.org.au
>
--
Andrew Howell
andrew at it.net.au
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plug.org.au/pipermail/plug/attachments/20090129/a99a6d4f/attachment.html>
More information about the plug
mailing list