Re: [WBEL-users] Screwed by a CentOS4 install test
Terry <[email protected]>
| Newsgroups | gmane.linux.whitebox.user |
|---|---|
| Message-ID | <[email protected]> |
I'm not a grub expert but here is probably our best source of info on the subject: http://www.gnu.org/software/grub/manual/html_node/index.html On 4/14/06, Jack Glendening <[email protected]> wrote: > Terry, > > It appears that your message is coming fromt a private email rather from the > mailing list so I will reply by email. > > > You are supposed to be repairing the boot loader, not the install - > > you should stay on task. > > OK, I will try to repair the boot loader - but so far my attempts to do so > have not been successful. > > > Try Shift-PageUp to go back and read those errors, which should give > > you valuable clues. > > You can also look at the xfree log and see what went wrong. > > Using I can now see that the first obvious failure comes from > the line > "Remounting root filesystem: read-write mode : mount: LABEL=1 duplicate - > not mounted" > That occurs after the "Welcome to WBEL" line. > But I notice that prior to that there are lines > "FS: file system mounted root (ext2 filesystem) > RedHat nash version 3.5.13 starting" > > I don't see how/why RedHat nash should be in there since I believe that is the > CentOS4 version. > > > Just write your boot loader to MBR of hda and be done with it, (to me, > > that is somewhat simplier), and it doesn't really matter which distro > > you do it from - a boot lodader is a bootloader is a bootloader - grub > > is grub (lilo is lilo, etc.) > > Well "just" doesn't seeom so simple for me since what I have tried so far has > not worked. > > Someone on the CentOS4 forum said I should issue the following: > commands to a grub prompt obtained at the (CentOS4) boot screen > root (hd0,0 > setup (hd0) > chainloader +1 > boot > > but when I tried that I got error messages at the "bootloader +1" line and at > the "boot" line. From reading the GRUB manual it seemed to me that I should > instead use "setup (hd0,0)" so I re-ran the sequence with that alteration and > this time I got the following messages (these are hand typed, not a cut+paste > exact copy) - note that my hda1 partitiona has a label /boot > root (hd0,0) > Filesystem is ext2fs, partition type 0x83 > setup (hd0,0) > Checking if /boot/grub/stage1 exists ..no > Checking if /grub/stage1 exists ... yes > Checking if /grub/stage2 exists ... yes > Checking if /grub/e2fs_stage1_5 exists ... yes > Running "embed /grub/e2fs_stage1_5 (hd0,0)" failed - this is not fatal > Running "install /grub/stage1 (hd0,0) /grub/stage2 p /grub/grub.conf" > succeeded > Done > chainloader +1 > (no messages returned, error or otherwise) > boot > Read Error > > If you have an alternative grub command sequence I should use I will be glad > to try it. FWIW I do have backups of what was in the WBEL /boot prior to > this mess. Also FYI the hda1/grub/grub.conf uses the lines > root (hd0,0) > kernel /vmlinuz-2.4.21-40.ELsmp ro root=LABEL=/ hdc=ide-scsi > initrd /initrd-2.4.21-40.ELsmp.img > > Jack > -- <><