I recently configured a RedHat 9 system with OpenVPN . The original configuration was done on an old junk box. This is a single boot w/grub system As of last week I knew nothing about grub; I now know marginally more. As it was working successfully, it was decided to build a new box for it. The hard drive was imaged with Ghost Corporate 8.x and restored onto the new drive. There are some known issues with 8.x and grub The grub screen comes up on booting the new box, but when selecting the (one) entry for RH9, after a short pause it comes back to the grub screen. I read the grub manual, and from the grub screen did c-command, then root (hd0,0) setup (hd0) quit The messages after setup did not look like error messages. The behavior is the same, although I see a message about stage 1.5 flicker by. I figured out how to look at the hard drive with Knoppix 3.8.2 Live CD and the partitions and contents look "ok", so it appears to just be a boot issue. How do I resolve this? What additional information do you need? Is there a better way to clone Linux drive -> Linux drive? Dick
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dick Goodman wrote:
I recently configured a RedHat 9 system with OpenVPN . The original configuration was done on an old junk box. This is a single boot w/grub system
As of last week I knew nothing about grub; I now know marginally more.
As it was working successfully, it was decided to build a new box for it. The hard drive was imaged with Ghost Corporate 8.x and restored onto the new drive. There are some known issues with 8.x and grub
The grub screen comes up on booting the new box, but when selecting the (one) entry for RH9, after a short pause it comes back to the grub screen. I read the grub manual, and from the grub screen did c-command, then
root (hd0,0) setup (hd0) quit
The messages after setup did not look like error messages. The behavior is the same, although I see a message about stage 1.5 flicker by. I figured out how to look at the hard drive with Knoppix 3.8.2 Live CD and the partitions and contents look "ok", so it appears to just be a boot issue.
How do I resolve this? What additional information do you need? Is there a better way to clone Linux drive -> Linux drive?
Dick _______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug
Here's what I use for boot commands in GRUB on my system. Its SuSE, but I don't think it should make a difference. root (hd0,0)/vmlinuz <boot parameters> initrd (hd0,0)/initrd - From a GRUB command line, make sure (by using the TAB key) that (hd0,0) is a legitimate partition, and that it can find /vmlinuz (or whatever kernel image you are using). If you need initrd, you can use the same trick with the TAB key to get a poor man's directory listing. After you enter those lines, or edit the existing lines to make them look as above, boot it and you should at least get the kernel to start. You may need to specify "root=/dev/xxx" as one of the boot parameters on the "root" command. If you get a panic when it tries to mount root, it is either because you didn't specify "root=/dev/xxx", or because the code for the root device isn't present in the kernel (for example, a SCSI driver or a reiserfs module, as appropriate). I hope root isn't part of LVM...that's a can of worms you should avoid, but I digress. I hope this helps, Andy - -- Andy Stewart, Founder Worcester Linux Users' Group Worcester, MA, USA http://www.wlug.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDlnkCHl0iXDssISsRAuiaAJ0ZhX3Il4sFM2Yt2cCG1IQBZMy11wCfZIcn bPoThROtkjrTtXGgaHq2Vms= =J3lU -----END PGP SIGNATURE-----
dick, can you post you /boot/grub/grub.conf (or /boot/grub/menu.lst). menu.lst is the old way, it's probably a symlink now... On 12/7/05, Andy Stewart <andystewart@comcast.net> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Dick Goodman wrote:
I recently configured a RedHat 9 system with OpenVPN . The original configuration was done on an old junk box. This is a single boot w/grub system
As of last week I knew nothing about grub; I now know marginally more.
As it was working successfully, it was decided to build a new box for it. The hard drive was imaged with Ghost Corporate 8.x and restored onto the new drive. There are some known issues with 8.x and grub
The grub screen comes up on booting the new box, but when selecting the (one) entry for RH9, after a short pause it comes back to the grub screen. I read the grub manual, and from the grub screen did c-command, then
root (hd0,0) setup (hd0) quit
The messages after setup did not look like error messages. The behavior is the same, although I see a message about stage 1.5 flicker by. I figured out how to look at the hard drive with Knoppix 3.8.2 Live CD and the partitions and contents look "ok", so it appears to just be a boot issue.
How do I resolve this? What additional information do you need? Is there a better way to clone Linux drive -> Linux drive?
Dick _______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug
Here's what I use for boot commands in GRUB on my system. Its SuSE, but I don't think it should make a difference.
root (hd0,0)/vmlinuz <boot parameters> initrd (hd0,0)/initrd
- From a GRUB command line, make sure (by using the TAB key) that (hd0,0) is a legitimate partition, and that it can find /vmlinuz (or whatever kernel image you are using). If you need initrd, you can use the same trick with the TAB key to get a poor man's directory listing.
After you enter those lines, or edit the existing lines to make them look as above, boot it and you should at least get the kernel to start. You may need to specify "root=/dev/xxx" as one of the boot parameters on the "root" command. If you get a panic when it tries to mount root, it is either because you didn't specify "root=/dev/xxx", or because the code for the root device isn't present in the kernel (for example, a SCSI driver or a reiserfs module, as appropriate). I hope root isn't part of LVM...that's a can of worms you should avoid, but I digress.
I hope this helps,
Andy
- -- Andy Stewart, Founder Worcester Linux Users' Group Worcester, MA, USA http://www.wlug.org
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDlnkCHl0iXDssISsRAuiaAJ0ZhX3Il4sFM2Yt2cCG1IQBZMy11wCfZIcn bPoThROtkjrTtXGgaHq2Vms= =J3lU -----END PGP SIGNATURE----- _______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug
On 12/7/05, Dick Goodman <wlug@goodman1.net> wrote:
root (hd0,0) setup (hd0) quit
The messages after setup did not look like error messages. The behavior is
I need to see those messages.
How do I resolve this? What additional information do you need?
The messages above and the output of the grub "geometry (hd0)" command, assuming everything is on the first HDD in the system. Also let us know the intended mount point for each of those partitions. Andy is correct in that the best way to figure this out is to work with the grub command line and walk through the steps it would take trying to boot your system. And Eric is correct in that the grub config file would also be handy. Since the disks are partitioned the same my guess is that the problem lies in the grub stage image installation. I believe some filesystems can get away without a stage1_5 (ext2 being one example, likely used on your RH box) and since you didn't supply an explicit image device to the setup command it's possible that the install wasn't able to find them on the root (hd0,0) that you specified.
Is there a better way to clone Linux drive -> Linux drive?
Yes, boot from a Linux CD (like the knoppix that you mentioned) and `dd if=/dev/<good> of=/dev/<blank>` <good> might be hda for example. Obviously blank needs to be as big or bigger than good or you risk an incomplete copy and therefore chopped filesystems. BR
participants (4)
-
Andy Stewart
-
Brett Russ
-
Dick Goodman
-
Eric Martin