Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Grub error 2, stage 1.5

  1. #1
    Senior Member registered user
    Join Date
    Feb 2003
    Posts
    929

    Grub error 2, stage 1.5

    I gave up on Lilo after getting the infamous no init found error in a knx-install (2003-06-06-EN). Seemed to me that Lilo was screwed as it wouldn't accept old /etc/lilo.confs which had worked fine with 3.1. However, Knoppix boots fine from a boot floppy -- hardly an optimal solution given that I need to dual boot with SuSE and floppys are dreadfully fragile.

    So I put Grub on and get stage 1.5 error 2. The error reference says:

    2 : "Selected disk doesn't exist"

    This error is returned if the device part of a device- or full filename refers to a disk or BIOS device that is not present or not recognized by the BIOS in the system.

    Which doesn't make a great deal of sense to me. Knoppix is on hda1. This is the (relevant, I think) part of /boot/grub/menu.lst :

    ## ## End Default Options ##

    title Debian GNU/Linux, kernel 2.4.20-xfs
    root (hd0,0)
    kernel /boot/vmlinuz-2.4.20-xfs root=/dev/hda1 ro
    savedefault
    boot

    title Debian GNU/Linux, kernel 2.4.20-xfs (recovery mode)
    root (hd0,0)
    kernel /boot/vmlinuz-2.4.20-xfs root=/dev/hda1 ro single
    savedefault
    boot

    ### END DEBIAN AUTOMAGIC KERNELS LIST

    Any ideas (even on what I may have done to deserve this) gratefully recieved.


  2. #2
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    872
    stage 1.5 has nothing to do with menu.lst(that is read by stage2). Seems that it cannot find stage2.

    what version of grub you are running ?

    A suggestion for GRUB, remove(or at least move) stage1.5 files as it may interfere with other boot loaders like NT(if you don't have M$ stuff, you can use stage1.5 safely).

  3. #3
    Senior Member registered user
    Join Date
    Feb 2003
    Posts
    929
    Let's see:

    knoppix@molehole:~$ grub --version
    grub (GNU GRUB 0.93)

    I've not used Windows since January and never anything later than 98 on these disks (SuSE's on another drive).

    The device map shows:

    (fd0) /dev/fd0
    (hd0) /dev/hda
    (hd1) /dev/hdc
    (hd2) /dev/sda

    which looks right (no CD listed, though)

    knoppix@molehole:/boot/grub$ ls
    device.map ffs_stage1_5 minix_stage1_5 stage2
    e2fs_stage1_5 jfs_stage1_5 reiserfs_stage1_5 vstafs_stage1_5
    fat_stage1_5 menu.lst stage1 xfs_stage1_5

    I'm using ext3 for everything except swap.

    I checked with cfdisk to see if hda1 was bootable, and it was. There's no issue with the size of initrd.

    Suggestions welcomed.

  4. #4
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    872
    how did you install GRUB ?

  5. #5
    Senior Member registered user
    Join Date
    Feb 2003
    Posts
    929
    (already included -- but not the default boot manager -- in 3.2)

    (as root):

    grub-install /dev/hda

    and

    update-grub

    (exactly as it says in /usr/share/doc/grub/README.Debian, but that doesn't mean it's right!)

  6. #6
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    872
    My WAG is that you have multiple hd and the grub stage1 and stage1.5 is being installed to hda but stage2 may be on another disk which confuse stage 1.5 so when it try to find it, it fails.

  7. #7
    Senior Member registered user
    Join Date
    Feb 2003
    Posts
    929
    knoppix@molehole:/boot/grub$ ls
    device.map ffs_stage1_5 minix_stage1_5 stage2
    e2fs_stage1_5 jfs_stage1_5 reiserfs_stage1_5 vstafs_stage1_5
    fat_stage1_5 menu.lst stage1 xfs_stage1_5

    So, what do I look for? (Seems strange that there is no e2fs_stage2, although there is a "common" stage2, and no mention of a e3fs at all.....).

  8. #8
    Senior Member registered user
    Join Date
    Feb 2003
    Posts
    929
    Sheesh!

    An updatedb and locate reveal only the stuff we know I have. I'll try mounting all the partitions and see if there's anything on any of them.

    Goddammitt! I'm puzzled that it works fine off the floppy, is there anyway I can (so to speak) write from the floppy back to the hard drive and point Lilo or Grub at that?

  9. #9
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    872
    I would suggest you to remove(or mv to somewhere else) the 1.5 stage files(all) and run the installation again. At least that way, I can get more clue on track down the problem. The stage 1.5 files are optional and IMO do more harm than good. and you can't 'transfer' from floppy to harddisk. There is too many device specific info(sectors) in the stage1/stage2 file.

    what is your partitions configuration, like which is the boot partition, which is root partition etc. or more specifically, which parititon /boot/* refers to ?

  10. #10
    Senior Member registered user
    Join Date
    Apr 2003
    Location
    Muscat.Oman
    Posts
    262

    Re: Grub error 2, stage 1.5

    Quote Originally Posted by fingers99
    ## ## End Default Options ##

    title Debian GNU/Linux, kernel 2.4.20-xfs
    root (hd0,0)
    kernel /boot/vmlinuz-2.4.20-xfs root=/dev/hda1 ro
    savedefault
    boot

    title Debian GNU/Linux, kernel 2.4.20-xfs (recovery mode)
    root (hd0,0)
    kernel /boot/vmlinuz-2.4.20-xfs root=/dev/hda1 ro single
    savedefault
    boot

    ### END DEBIAN AUTOMAGIC KERNELS LIST

    Any ideas (even on what I may have done to deserve this) gratefully recieved.

    Try removing the lines 'savedefault' and 'boot' . I also use grub but I don't have those lines in my menu.lst. Refer to the sample menu.lst on the 'doc' folder of your grub source directory.

Page 1 of 2 12 LastLast

Similar Threads

  1. Editing GRUB to get other OS to boot error...
    By rrfish72 in forum General Support
    Replies: 2
    Last Post: 10-22-2004, 11:54 PM
  2. HD install, LILO to GRUB conversion, boot error message.
    By ocean in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 10-01-2004, 01:26 PM
  3. Grub error 17
    By Henk Poley in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 09-14-2004, 12:11 PM
  4. winxp, gentoo, knoppix, grub, and a boot error message
    By SgtRauksauff in forum Hdd Install / Debian / Apt
    Replies: 7
    Last Post: 05-06-2004, 12:38 AM
  5. Xine error after doing a Upgrade, error posted. (resolved)
    By Cuddles in forum Hdd Install / Debian / Apt
    Replies: 17
    Last Post: 01-20-2004, 04:30 PM

Posting Permissions

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


Knoppix NSM 1.2 picture

Knoppix NSM 1.2

$8.00



Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive picture

Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive

$9.99



KNOPPIX 9.1 LINUX INSTALL & LIVE DVD picture

KNOPPIX 9.1 LINUX INSTALL & LIVE DVD

$9.99



Linux Knoppix 4.0.2 Installation Disc picture

Linux Knoppix 4.0.2 Installation Disc

$29.99



Knoppix Linux Bootable OS v8.6

Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 32G USB Stick

$20.30



Hamshack Live DVD-ROM picture

Hamshack Live DVD-ROM

$8.00



Acer Aspire One 9 inch Netbook ZG5 512MB RAM 8GB SSD HD Knoppix Linux WiFi VGA picture

Acer Aspire One 9 inch Netbook ZG5 512MB RAM 8GB SSD HD Knoppix Linux WiFi VGA

$79.99



Knoppix 3.4 Linux installation CD picture

Knoppix 3.4 Linux installation CD

$10.00



Knoppix Linux Bootable OS v8.6

Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 16G USB Stick

$19.95