Find the answer to your Linux question:
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 27
hi people,i am trying to install gentoo for the 5-th time but the same error is the grub, i did like the manual sees and i got this error:"GNU GRUB ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2007
    Posts
    39

    grub problem please help


    hi people,i am trying to install gentoo for the 5-th time but the same error is the grub, i did like the manual sees and i got this error:"GNU GRUB version 0.97 (636K lower / 3667840K upper memory)

    [Minimal BASH-like line editing is suported. For the first word TAB lists possible command completions.Anywhere else TAB lists the possible completions of a device/filename.]

    grub>"

    please help,where i did wrong thanks aticipate

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Have you created grub.conf file correctly?
    Post the contents of /boot/grub/grub.conf file and output of fdisk -l command here.
    Try this too: Download SuperGRUB CD and boot up from it. Select 'Fix Linux Boot Loader (GRUB)' option from list. It will re-install GRUB.
    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!
    Join Date
    Dec 2007
    Posts
    39
    thanks but still want to know where i did wrong.



    this is my fstab:
    /dev/sda1 /boot ext2 defaults,noatime 1 2
    /dev/sda2 none swap sw 0 0
    /dev/sda3 / ext3 noatime 0 1

    none /proc proc defaults 0 0
    none /dev/shm tmpfs nodev,nosuid,noexec 0 0

    /dev/cdroms/cdrom0 /mnt/cdrom auto user 0 0
    /dev/fd0 /media/floppy auto rw,noauto,user,sync 0 0



    and this is my /grub.conf:
    # Which listing to boot as default. 0 is the first, 1 the second etc.
    default 0
    # How many seconds to wait before the default listing is booted.
    timeout 30
    # Nice, fat splash-image to spice things up
    # Comment out if you don't have a graphics card installed
    splashimage=(hd0,0)/boot/grub/splash.xpm.gz
    title=Gentoo Linux 2.6.23-r6
    # Partition where the kernel image (or operating system) is located
    root (hd0,0)
    kernel /boot/kernel-2.6.23-gentoo-r6 root=/dev/sda3

    title=Gentoo Linux 2.6.23-r6 (rescue)
    # Partition where the kernel image (or operating system) is located
    root (hd0,0)
    kernel /boot/kernel-genkernel-X86_64-2.6.23-gentoo-r6 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda3 udev
    video=vesafb:mtrr:3,ywrap
    initrd /boot/initramfs-genkernel-X86_64-2.6.23-gentoo-r6

  4. $spacer_open
    $spacer_close
  5. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    root (hd0,0)
    kernel /boot/kernel-2.6.23-gentoo-r6 root=/dev/sda3
    It should be
    Code:
    title Gentoo Linux 2.6.23-r6
    root (hd0,0)
    kernel (hd0,0)/boot/kernel-2.6.23-gentoo-r6  root=/dev/sda3 ro
    Remove = sign from title line add (hd0,0) and ro in kernel line.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  6. #5
    Just Joined!
    Join Date
    Dec 2007
    Posts
    39
    ok i did this,my bootloader open i hit enter and this what i got:
    "Booting 'Gentoo Linux 2.6.23-r6
    root(hd0,0)
    Filesystem type is ext2fs,partition type 0x83
    Kernel (hd0,0)/boot/kernel-X86_64-2.6.23-gentoo-r6 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda3 ro
    Error 15:File not found
    press any key to continue..."
    please help

  7. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Isn't GRUB Menu giving two options? Have you removed = sign from both title lines?
    It looks like you are selecting rescue option.
    Try removing (hd0,0) from kernel line.

    Your grub.conf file should look like this
    Code:
    default 0
    timeout 30
    splashimage=(hd0,0)/boot/grub/splash.xpm.gz
    
    title Gentoo Linux 2.6.23-r6
    root (hd0,0)
    kernel /boot/kernel-2.6.23-gentoo-r6 root=/dev/sda3 ro
    initrd /boot/initramfs-genkernel-X86_64-2.6.23-gentoo-r6
    
    title Gentoo Linux 2.6.23-r6 (rescue)
    root (hd0,0)
    kernel /boot/kernel-genkernel-X86_64-2.6.23-gentoo-r6 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda3 udev
    video=vesafb:mtrr:3,ywrap
    initrd /boot/initramfs-genkernel-X86_64-2.6.23-gentoo-r6
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  8. #7
    Just Joined!
    Join Date
    Dec 2007
    Posts
    39
    the same problem :
    Booting 'Gentoo Linux 2.6.23-r6
    root (hd0,0)
    Filesystem type is ext2fs,partition type 0x83
    Kernel (hd0,0)/boot/kernel-X86_64-2.6.23-gentoo-r6 root=/dev/sda3 ro
    Error 15:File not found.


    but let's see if i am not doing mistakes :
    Boot the LiveCD.
    mount /dev/hdb4 /mnt/gentoo
    mount /dev/hdb2 /mnt/gentoo/boot
    mount --bind /dev/ /mnt/gentoo/dev
    mount none -t proc /mnt/gentoo/proc
    chroot /mnt/gentoo /bin/bash
    env-update && source /etc/profile
    after that:
    nano /boot/grub/grub.conf
    and editing.
    where i do wrong?
    please help

  9. #8
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Post the file listing of /boot folder.
    Code:
    ls /boot
    and try appending kernel line with (hd0,0) again.
    Code:
    kernel (hd0,0)/boot/kernel-2.6.23-gentoo-r6 root=/dev/sda3 ro
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  10. #9
    Just Joined!
    Join Date
    Dec 2007
    Posts
    39
    i try it but the same problem.and how to send u the picture whit my
    ls /boot
    i guess i will install again gentoo.thanks so much.

  11. #10
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Just copy the output of ls /boot command or redirect its output to text file.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Page 1 of 3 1 2 3 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
  •