Menu

#3 Cannot boot linux : ext3

open
nobody
None
5
2004-09-07
2004-09-07
Anonymous
No

I have 3 operating system
win2k, linux mandrake 10 and freeBSD...

GAG able to detect all OS but cannot boot Linux.. the
error messege was: " sector boot not found or invalid"
. file system for linux is ext3. Before i install GAG
. I'm using LILO as boot loader..

Discussion

  • Bakshish

    Bakshish - 2004-10-05

    Logged In: YES
    user_id=367266

    Hummm..

    I'll try to help raster out here a bit. It seems to me that you
    are confusing OS's with "partitions" - which is what GAG sees.

    In order for GAG to boot any OS, that OS must have its
    system loader in the aproppriate partition. In other words GAG
    boots the selected bottloader which, in turn, loads the OS.

    Now, in your particular case, you didn't supply mucho
    information really (how did you boot prior installation of GAG?
    Where did you install the Linux bootstrap?). Even so, I'd
    guess that your problem is that you had the Linux bootloader
    on the MBR and no bootloader in it's own partition. Thus,
    when installing GAG you must have overwritten the Linux
    loader...

    If that's the case, try booting from a rescue disk - or rescue
    method in case of a CD - and reconfigure the linux boot
    loader - most probably LILO - to install itself on a Linux
    partition and not on the MBR. That might sort you out.

    Cheers,

     
  • Nobody/Anonymous

    Logged In: NO

    did you have LILO installed in the MBR originally? or on
    the first partition?

     
  • Anonymous

    Anonymous - 2006-04-01

    Logged In: YES
    user_id=620220

    Hi
    I'm having the same problem (but is it the same cause ?):

    Hard Drive Disk of 138GB (UDMA 100 , lba)

    Windows 98 installed on /dev/hda1 (boot partition)
    Debian Linux installed on /dev/hda3 (partition type ext3 ;
    boot partition)
    Lilo installed on /dev/hda3

    In lilo.conf :
    lba32
    boot=/dev/hda3
    lilo was relaunched after modification of the file

    In the Bios : disk recognized as lba32 compatible

    Gag installed on /dev/hda (well .. on the same hard disk, I
    mean) but it does the same when launched from floppy.

    And, when I try to boot Linux from Gag, this error message
    appears :
    "secteur de demarrage infecte"
    (translate by "infested sector boot" .. by a virus ??)
    What does it exactly mean ? No boot sector found ? Boot
    sector defectuous ?
    Could it comes from Lilo ?
    Thank you for your answer

     
  • gcvisel

    gcvisel - 2006-06-13

    Logged In: YES
    user_id=1539175

    I get just the same thing.

    I have Win98 on a 200G drive, with multiple partitions,
    including a linux one (where I first tried installing Ubunto
    6.06.) I also have an 8G drive that I wiped clean and
    installed Ubuntu on.

    It worked fine until I tried to install GAG. GAG booted
    either W98 or Ubuntu when initially run from CD. However,
    when I saved it to the HD, it no longer recognized Ubuntu,
    giving me the message "sector boot not found or invalid"
    noted above.

    At this point, the only way I can get Ubunto running is to
    reinstall it. When it does boot itself, it sees all the
    previous installs, and can load them.

    It appears that GAG is choking.

     
  • Bakshish

    Bakshish - 2006-06-13

    Logged In: YES
    user_id=367266

    Hello again,

    It seems that we're still having problems with GAG. Let's see...

    To 'jnworm': The error message you describe ("secteur de
    demarrage infecte") is certainly not a LILO or GAG message.
    My guess is that you're getting a BIOS 'virus detection
    alert'. Check if you have such a feature in your PC's BIOS
    and disable it if that's the case.

    To 'gcvisel': How did you load Ubuntu - most probably using
    'grub'? Where was the Ubuntu bootloader set? the master boot
    record?

    Cheers,

     
  • gcvisel

    gcvisel - 2006-06-14

    Logged In: YES
    user_id=1539175

    I downloaded Ubuntu 6.06 and burned the iso to a cd. It
    let's you try it from CD, and if you like it, go ahead and
    install it. I did that (multiple times!) and have it
    running now. It's install process is very automated and I
    never see lilo or grub. However, whenever I try loading GAG
    as a front end and running Ubuntu, it runs fine until I save
    GAG to hard disk. Then when I reboot, GAG comes up and
    Winders starts fine, but it cannot find Ubuntu. The only
    way to get back into it is to reinstall, (which makes
    another copy! I need to figure out how to make a boot disk!)

    I'm a noobie and this is my first foray into Linuxland, and
    feeling my way along... Thanks for the help!

     
  • Bakshish

    Bakshish - 2006-06-14

    Logged In: YES
    user_id=367266

    Hello again,

    gcvisel: From your explanation it looks like the automatic
    installation of ubuntu set up its bootloader in the MBR of
    your disk. GAG installs itself on the MBR too, that's why
    Ubuntu will not boot. Read the first comment I made to this
    thread and try to follow my suggestions - but changing LILO
    for grub (standard loader used by Ubuntu).

    You have to bear in mind that GAG is not a OS loader it is a
    'boot selector' so the loader for each OS must be in the
    correct place - _NOT_ the MBR - so that GAG can launch it.

    Cheers,

     
  • Nobody/Anonymous

    Logged In: NO

    Yer I have the same problem. Using GAG to by pass SATA boot
    with an ATA Caddy. Pick it up but can't boot to it. Ubuntu
    doesn't work either. Tried LILO and GRUB anhd a no go.

     
  • IceCube

    IceCube - 2007-08-25

    Logged In: YES
    user_id=1589917
    Originator: NO

    When you install GAG in linux with the command "gag-install",
    you have to install GRUB again (because it was before in the MBR (probably)).

    Go to the terminal, type "grub-install"

    Once started, GRUB will show the command-line interface (see Command-line interface).

    If you are not sure which partition actually holds the boot directory, use the command find (see find), like this:

    grub> find /boot/grub/stage1

    This will search for the file name /boot/grub/stage1 and show the devices which contain the file.

    If grub doesn't find anything, you may have a separate partition for your /boot directory.
    grub> find /grub/stage1

    Set the GRUB's root device to the partition containing the boot directory, like this:
    grub> root (hd0,0) (use the information from your previous command e.g. setup(hd1,2)

    You have to put GRUB into the boot sector of a partition instead of putting it in the MBR, specify the partition into which you want to install GRUB:

    grub> setup (hd0,0) (use the information from your previous command e.g. setup(hd1,2)

    You can do this from a live-cd also. (This works with Ubuntu)

     
  • IceCube

    IceCube - 2007-08-25

    Logged In: YES
    user_id=1589917
    Originator: NO

    I mixed something up in my previous post.

    (Copied from the instruction from GAG itself)
    If you have an operating system which needs a boot loader (like Linux or BSD, which needs GRUB), you must install it in the SuperBlock of the root partition. With GRUB, just type from a command line (as root):

    grub-install /dev/root_partition

    Being root_partition your root partition, of course. An example: if /dev/sda7 is your root partition, just type:

    grub-install /dev/sda7

    When you haven't done this, you can use a live-cd. You have to do the same steps as above.
    If you have ever made a boot floppy, you can use it to boot you linux and correct the problem there.

    When you don't have a live-cd or boot floppy, you can download "Super GRUB disk".
    http://forjamari.linex.org/frs/?group_id=61
    choose the live-cd or the floppy image.

    Read the instructions at http://supergrub.forjamari.linex.org/
    Boot from the live-cd or boot floppy.

    ===========================================================================================
    You can also use a grub bootdisk:

    If you are not sure which partition actually holds the boot directory, use
    the command find (see find), like this:

    grub> find /boot/grub/stage1

    This will search for the file name /boot/grub/stage1 and show the devices
    which contain the file.

    If grub doesn't find anything, you may have a separate partition for your
    /boot directory.
    grub> find /grub/stage1

    Set the GRUB's root device to the partition containing the boot directory,
    like this:
    grub> root (hd0,0) (use the information from your previous command
    e.g. setup(hd1,2)

    You have to put GRUB into the boot sector of a partition instead of
    putting it in the MBR, specify the partition into which you want to install
    GRUB:

    grub> setup (hd0,0) (use the information from your previous command
    e.g. setup(hd1,2)

     

Log in to post a comment.

MongoDB Logo MongoDB