Find the answer to your Linux question:
Results 1 to 2 of 2
Recently I installed Debian (Woody)with a bf-2.4.25.iso from an ftp server. Everything works fine. The I installed grub (0.9.5): apt-get install grub grub-doc grub -install --root-directory=/boot /dev/hda (on MBR) update-grub ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2004
    Location
    The Netherlands
    Posts
    1

    Problems with Woody/grub


    Recently I installed Debian (Woody)with a bf-2.4.25.iso from an ftp server. Everything works fine. The I installed grub (0.9.5):
    apt-get install grub grub-doc
    grub -install --root-directory=/boot /dev/hda (on MBR)
    update-grub (to make a menu.lst)
    The menu.lst looks like:
    ##### menu.lst ######
    default 0
    timeout 10

    title Debian GNU/Linux, kernel bf-2.4.25
    root (hd0,0)
    kernel /boot/vmlinuz-2.4.25 root=/dev/hda2 ro
    savedefault
    boot
    ##################

    Ran grun-update again
    The device.map looks OK too (hd0 for /dev/hda and fd0 for /dev/fd0

    Then I removed LILO:
    apt-get remove lilo
    dpkg --purge lilo

    But when I reboot, the **** happens. The menu shows, i select the right kernel and grub loads the kernel, but stops after a while.
    These are the last 5 messeges i get:

    EXT3fs mounted filesystem with orderd data mode
    VFS: Mounted root (ext3 filesystem) readonly
    Freeing unused kernel memory: 92K freed
    Warning: Unable to open an initial console
    Kernel panic: No init found. Try passing init= option to kernel

    Is it that I haven't got an initrd image? Can someone please help me??

    PS
    My partitions scheme look like:
    /boot hda1 100MB ext3 Primary
    / hda2 500MB ext3 Primary
    /usr hda5 3000MB ext3 Logical
    /var hda6 2000MB ext3 Logical
    /tmp hda7 500MB ext3 Logical
    /home hda8 12000MB ext3 Logical
    swap hda9 400MB swap Logical

  2. #2
    Just Joined!
    Join Date
    Jan 2004
    Posts
    11
    I encountered that error before, and I needed an initrd line.

    initrd /boot/initrd-2.4.25

    Add that line after the kernel line and it should work.

Posting Permissions

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