Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 14
hello everyone, i have the following problem. i have installed fedora core 6 (i kept the default partition schema) so after installation my hd looks like this: hda1 for /boot ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! maxpayne_gr's Avatar
    Join Date
    Nov 2006
    Posts
    33

    suse 10.1 and fedora 6 booting


    hello everyone,

    i have the following problem.
    i have installed fedora core 6 (i kept the default partition schema) so after installation my hd looks like this:
    hda1 for /boot
    hda2 as LVMGroup00 which contains LvmVolume00 for / and LVMVolume01 for swap.
    After that i installed suse 10.1.
    i just created hda3 for / and used LVMVolume01 for swap.
    Although i wanted to specify not to put a new boot loader i didnt find anywhere during install that option so it automatically did...

    I tried to find /boot/grub/grub.conf as devils_casper advised me but i couldn't instead i found menu.lst which contained the following code:
    ------------------------------------------------------------------------------------------
    # Modified by YaST2. Last modification on Sat Nov 18 08:56:40 UTC 2006

    color white/blue black/light-gray
    default 0
    timeout 8
    gfxmenu (hd0,2)/boot/message

    ###Don't change this comment - YaST2 identifier: Original name: linux###
    title SUSE Linux 10.1
    root (hd0,2)
    kernel /boot/vmlinuz root=/dev/hda3 vga=0x317 resume=/dev/VolGroup00/LogVol01 splash=silent showopts
    initrd /boot/initrd

    ###Don't change this comment - YaST2 identifier: Original name: failsafe###
    title Failsafe -- SUSE Linux 10.1
    root (hd0,2)
    kernel /boot/vmlinuz root=/dev/hda3 vga=normal showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off 3
    initrd /boot/initrd
    ------------------------------------------------------------------------------------------------

    what should i add i am not sure about the kernel part and after that...
    thanx in advance guys!!!!

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    post the contents of Fedora's grub.conf file and output of 'fdisk -l' command. you must root to execute it.







    casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined! maxpayne_gr's Avatar
    Join Date
    Nov 2006
    Posts
    33
    sorry i am totally noob can you give me some more info?

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined! maxpayne_gr's Avatar
    Join Date
    Nov 2006
    Posts
    33
    sorry i mean how can i see the grub.conf shall i have to go to /dev/hda2 or /dev/hda1 and where... i dont know where to find it....

    but fdisk -l shows the following:
    Disk /dev/hda: 80.0 GB, 80026361856 bytes
    255 heads, 63 sectors/track, 9729 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/hda1 1 13 104391 83 Linux
    /dev/hda2 14 3252 26017267+ 8e Linux LVM
    /dev/hda3 * 3253 6490 26009235 83 Linux

  6. #5
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    grub.conf file is in hda1 ( /boot ) partition.
    log in as root and open menu.lst. add this code at the end of file.
    Code:
    title Fedora Core (2.6.18-1.2798.fc6)
    	root (hd0,0)
    	kernel /vmlinuz-2.6.18-1.2798.fc6 ro root=LABEL=/ rhgb quiet
    	initrd /initrd-2.6.18-1.2798.fc6.img
    save file and reboot. try to boot up Fedora. in case, it doesn't work, post the contents of grub.conf file. its in grub folder of hda1.




    casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  7. #6
    Just Joined! maxpayne_gr's Avatar
    Join Date
    Nov 2006
    Posts
    33
    hi again,
    it couldn't load...
    the error message was:

    root (hd0,0)
    filesystem type is ext2fs partition type 0x8e
    kernel /vmlinuz-2.6.18-1.2798.fc6 ro root=LABEL=/ rhgb quiet
    error 15: file not found

    i also dont know how to see the contents of hda1 so i can post what grub.conf has... i dont know how to have access on it... shall i have to type mount or something?
    i am very very new on linux, sorry

    thanx in advance

  8. #7
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    log in as root and execute this code in terminal
    Code:
    mkdir /media/boot
    mount -t ext3 /dev/hda1 /media/boot
    open /media/boot folder.





    casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  9. #8
    Just Joined! maxpayne_gr's Avatar
    Join Date
    Nov 2006
    Posts
    33
    thanx for quick reply casper

    here is the content:
    # 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/VolGroup00/LogVol00
    # initrd /initrd-version.img
    #boot=/dev/hda
    default=0
    timeout=5
    splashimage=(hd0,0)/grub/splash.xpm.gz
    hiddenmenu
    title Fedora Core (2.6.18-1.2798.fc6xen)
    root (hd0,0)
    kernel /xen.gz-2.6.18-1.2798.fc6
    module /vmlinuz-2.6.18-1.2798.fc6xen ro root=/dev/VolGroup00/LogVol00 rhgb quiet
    module /initrd-2.6.18-1.2798.fc6xen.img

  10. #9
    Just Joined! maxpayne_gr's Avatar
    Join Date
    Nov 2006
    Posts
    33
    i guess i have to add the after "root (hd0,0......" part to my menu.lst file right?

  11. #10
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    copy this code ( last five lines in grub.conf file ) and add in menu.lst file
    Code:
    title Fedora Core (2.6.18-1.2798.fc6xen)
    root (hd0,0)
    kernel /xen.gz-2.6.18-1.2798.fc6
    module /vmlinuz-2.6.18-1.2798.fc6xen ro root=/dev/VolGroup00/LogVol00 rhgb quiet
    module /initrd-2.6.18-1.2798.fc6xen.img
    save file and reboot !




    casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Page 1 of 2 1 2 LastLast

Posting Permissions

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