Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
fsc'k up my grub.conf, need help
Page 1 of 4 123 ... LastLast
Results 1 to 10 of 31

Thread: fsc'k up my grub.conf, need help

  1. #1
    Member
    Join Date
    May 2001
    Location
    Paradise, Ca
    Posts
    177

    fsc'k up my grub.conf, need help

    Long story shortened.

    I wanted to try SuSE 9.1 so installed a new 40 GB HD and installed it there, leaving my stable, up2dat'd RH9 on the original HD, thinking I'd be safe. Wrong!

    In a week of screwing around with SuSE, I find, IMHO, it blows chunks and retreated to FC1 on that HD (still leaving RH9 alone.)

    After putting SuSE onto the new HD it wiped out my original grub.conf making it impossible to boot into RH9. And since it is so lame it couldn't find my DSL connection left me with no online.

    After retreating to a real Distro (FC1) I want to fix /etc/grub.conf to boot both.

    Here is the current, which boots to FC1 fine, but not RH9. I further don't know how to find the kernel img info of the RH (thinking it is 2.4.31 something, but don't know how to tell for sure. But I know *this* doesn't work.

    Code:
    # 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 (hd1,0)
    #          kernel /vmlinuz-version ro root=/dev/hdb2
    #          initrd /initrd-version.img
    #boot=/dev/hda
    default=1
    timeout=10
    splashimage=(hd1,0)/grub/splash.xpm.gz
    title Fedora Core (2.4.22-1.2188.nptl)
    root (hd1,0)
    kernel /vmlinuz-2.4.22-1.2188.nptl ro root=LABEL=/1 hdc=ide-scsi rhgb
    initrd /initrd-2.4.22-1.2188.nptl.img
    title Fedora Core (2.4.22-1.2115.nptl)
    root (hd1,0)
    kernel /vmlinuz-2.4.22-1.2115.nptl ro root=LABEL=/1 hdc=ide-scsi rhgb
    initrd /initrd-2.4.22-1.2115.nptl.img
    title RedHat 9
    rootnoverify (hd0,0)
    chainloader +1
    I've some other issues left behind by SuSE but this fix will get me going. Any takers?

    TIA,

    Ken

  2. #2

    Re:fsc'k up my grub.conf, need help

    hi ken,
    you are trying to RH9 like some lame old sinky poo OS...

    i changed how i guess the rh9 would look here:
    cheers!
    paul

    Code:
    # 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 (hd1,0)
    #          kernel /vmlinuz-version ro root=/dev/hdb2
    #          initrd /initrd-version.img
    #boot=/dev/hda
    default=1
    timeout=10
    splashimage=(hd1,0)/grub/splash.xpm.gz
    title Fedora Core (2.4.22-1.2188.nptl)
       root (hd1,0)
       kernel /vmlinuz-2.4.22-1.2188.nptl ro root=LABEL=/1 hdc=ide-scsi rhgb
       initrd /initrd-2.4.22-1.2188.nptl.img
    title Fedora Core (2.4.22-1.2115.nptl)
       root (hd1,0)
       kernel /vmlinuz-2.4.22-1.2115.nptl ro root=LABEL=/1 hdc=ide-scsi rhgb
       initrd /initrd-2.4.22-1.2115.nptl.img
    title RedHat 9
            root (hd0,0)
            kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/
            initrd /boot/initrd-2.4.20-8.img

  3. #3
    Member
    Join Date
    May 2001
    Location
    Paradise, Ca
    Posts
    177

    Re:fsc'k up my grub.conf, need help

    Paul,

    Thanks.... but...

    Code:
     kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/
            initrd /boot/initrd-2.4.20-8.img
    I know I had some 2.4.31-x.img do not know x

    Any way to find out? When in fact I can''t boot into it?

    Yabbut, my RH9 was all to my liking...and while it may be stinky-poo it has a lot of stuff I'd hate to lose.

    Ken

  4. #4

    Re:fsc'k up my grub.conf, need help

    ah i see my friend, once again my typing has left confusion wreak havoc.

    rh9 is not stinky poo, when the chainloader option is used it is typically used to load some verison of MS windows , as far as i am aware even BSD uses more explicit instructions to load.


    i would try this - if the RH9 partition is not mounted then mount it e.g. mount -t ext3 /dev/hda1 /somemountpoint then see what images are in its boot directory. for the 2.4 series kernel the newest (released) one is 2.4.26 - so i am not sure how there could be a 2.4.31 in there. I look for it but running find /somemountpoint/ -name "*.img" and see what versions egt returned.




  5. #5
    Member
    Join Date
    May 2001
    Location
    Paradise, Ca
    Posts
    177

    Re:fsc'k up my grub.conf, need help

    Paul,

    okie found it is in fact " vmlinuz-2.4.20-31.9 " so by making that part of grub.conf

    Code:
    title RedHat 9
            root (hd0,0)
            kernel /boot/vmlinuz-2.4.20-31.9 root=LABEL=/1 hdc=ide-scsi rhgb
            initrd /boot/initrd-2.4.20-31.9.img
    I had high hopes... but ...

    now I get:

    Code:
    root (hd0,0)
    ext2fs  partition type0x83
    Error  15   File not found.
    This too is a tad curious:

    Code:
    [root@localhost ken]# mount -t ext3 /dev/hda1 /mnt/RH9
    mount: /dev/hda1 already mounted or /mnt/RH9 busy
    mount: according to mtab, /dev/hda1 is already mounted on /mnt/RH9
    I think getting closer can smell it, but still can't see it

    Ken

  6. #6

    Re:fsc'k up my grub.conf, need help

    humms - does /mnt/RH9/boot/vmlinuz-2.4.20-31.9 exist? also /mnt/RH9/boot/initrd-2.4.20-31.9.img ?

  7. #7
    Member
    Join Date
    May 2001
    Location
    Paradise, Ca
    Posts
    177

    Re:fsc'k up my grub.conf, need help

    Nope ;-(

    Code:
    [root@localhost ken]# /mnt/RH9/boot/vmlinuz-2.4.20-31.9
    bash: /mnt/RH9/boot/vmlinuz-2.4.20-31.9: No such file or directory
    [root@localhost ken]# /mnt/RH9/boot/initrd-2.4.20-31.9.img
    bash: /mnt/RH9/boot/initrd-2.4.20-31.9.img: No such file or directory
    [root@localhost ken]# cd /mnt/RH9/boot/initrd-2.4.20-31.9.img
    bash: cd: /mnt/RH9/boot/initrd-2.4.20-31.9.img: No such file or directory
    [root@localhost ken]# cd /mnt/RH9/boot/vmlinuz-2.4.20-31.9
    bash: cd: /mnt/RH9/boot/vmlinuz-2.4.20-31.9: No such file or directory

    Pooh!

  8. #8
    Guest

    Re:fsc'k up my grub.conf, need help

    Did u cd into the Rh9/boot directory and see if there is anything actually there?

  9. #9

    Re:fsc'k up my grub.conf, need help

    [quote author=Stonedog link=board=1;threadid=9284;start=0#msg83981 date=1086063942]
    Did u cd into the Rh9/boot directory and see if there is anything actually there?
    [/quote]

    yea man! thats what i thinking...

  10. #10
    Member
    Join Date
    May 2001
    Location
    Paradise, Ca
    Posts
    177

    Re:fsc'k up my grub.conf, need help

    Code:
    
    [root@localhost RH9]# ls -a
    .                       kernel.h                 System.map-2.4.20-31.9
    ..                      lost+found               System.map-2.4.20-6
    boot.b                  message                  vmlinux-2.4.20-31.9
    chain.b                 message.ja               vmlinux-2.4.20-6
    config-2.4.20-31.9      module-info              vmlinuz
    config-2.4.20-6         module-info-2.4.20-31.9  vmlinuz-2.4.20-31.9
    grub                    module-info-2.4.20-6     vmlinuz-2.4.20-6
    initrd-2.4.20-31.9.img  os2_d.b
    initrd-2.4.20-6.img     System.map
    [root@localhost RH9]#

    ???

Similar Threads

  1. Nettune.conf
    By vishal wadhwa in forum Linux - Hardware, Networking & Security
    Replies: 5
    Last Post: 12-17-2006, 11:31 PM
  2. /etc/resolve.conf gone
    By mojo jojo in forum Linux - General Topics
    Replies: 17
    Last Post: 09-20-2004, 10:57 PM
  3. smb.conf example
    By trickster in forum Linux - Hardware, Networking & Security
    Replies: 1
    Last Post: 06-21-2004, 11:48 PM
  4. GRUB GRUB GRUB GRUB "Whats Going on?"
    By Gaweph in forum Linux - General Topics
    Replies: 13
    Last Post: 03-26-2004, 05:14 PM
  5. vga=792 in /etc/lilo.conf
    By wing328 in forum Linux - General Topics
    Replies: 1
    Last Post: 06-03-2002, 03:11 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •