Re: Move a mail server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

----- Original Message ----- From: "Shankar Jha" <shankar.jha@xxxxxxxxx>
To: "General Red Hat Linux discussion list" <redhat-list@xxxxxxxxxx>
Sent: Wednesday, June 20, 2007 4:49 PM
Subject: Re: Move a mail server


Try this one..

kernel /vmlinuz-2.4.7-10 ro root=*LABEL=/?????*



On 6/21/07, Lisa Casey <lisa@xxxxxxxxxxx> wrote:


----- Original Message -----
From: Bliss, Aaron
To: Lisa Casey ; redhat-list@xxxxxxxxxx
Sent: Wednesday, June 20, 2007 2:02 PM
Subject: RE: Move a mail server
Hi,

Lisa,
It's definitely possible that the you just need to update your grub.conf
file and point it to /, as the new box (depending upon it's
configuration) maybe identifying the hard drive differently than the old
box...you can fix this by booting the new box from an install disk into
rescue mode...

I'm not sure what you mean by pointing grub.conf to /. Currently grub.conf
looks like this:

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this
file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/hda3
#          initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.7-10)
       root (hd0,0)
       kernel /vmlinuz-2.4.7-10 ro root=/dev/hda3
       initrd /initrd-2.4.7-10.img

What exactly in this file should I change?

Lisa


At the risk of sounding stupid here... surely you don't mean for me to put *LABEL=/?????* into grub.conf? The boot error message vI was getting was No init found. Googling tells me I need to specify in grub.conf which partition /sbin/init is in. Should I change the line in grub.conf to read:

kernel /vmlinuz-2.4.7-10 ro root=/

I'm afraid to play around with this syntax as I'm concerned that a mistake will render my machine unbootable. At least now I can boot it on the old hardware.

Lisa Casey

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux