Find the answer to your Linux question:
Results 1 to 5 of 5
hi...I just compile the last kernel release, I did it debian wey. All was find, i make the package, install it and then create the initrd image and add the ...
  1. #1
    Just Joined!
    Join Date
    Apr 2005
    Location
    Venezuela
    Posts
    60

    grub problem

    hi...I just compile the last kernel release, I did it debian wey.
    All was find, i make the package, install it and then create the initrd image and add the respective line in the grub menu.lst.
    I dont know why when i restart to test the new kernel i fund that the grub doesnt run... it stays GRUB loading, please wait.... and doenst do anything else.
    So I try to fix it with a knoppix rescue disk. I do chroot to de partition and then do a grub-install, but when i do the install it tells me that cant read the stage1 archive.
    then i try by doing /sbin/grub and then i was in the grub command line. I do the same but with the grub commands:
    root (hd0,1)
    setup (hd0)

    Aparently this was succesfull but then I reboot and there was no news.... all the same.
    I dont know what else to do, I think the stage1 archive is the problem but im not sure, and i dont know how to fix this..

  2. #2
    Just Joined! brother_mick's Avatar
    Join Date
    Jun 2005
    Location
    United Kingdom
    Posts
    65
    Just a thought. Are you using a seperate /boot partition ? Has it run out of free space ?

  3. #3
    Just Joined!
    Join Date
    Apr 2005
    Location
    Venezuela
    Posts
    60
    Quote Originally Posted by brother_mick
    Just a thought. Are you using a seperate /boot partition ? Has it run out of free space ?
    No, I do the linux installation in one partition and I have enough space..

    Grub is on MBR

  4. #4
    Just Joined!
    Join Date
    Apr 2005
    Location
    Venezuela
    Posts
    60

    heres what I get...

    Hi these if what I try to do...and the result.

    root@0[knoppix]# mount /dev/hda2 /mnt/hda2
    root@0[knoppix]# chroot /mnt/hda2
    Knoppix:/# grub-install /dev/hda
    The file /boot/grub/stage1 not read correctly.

  5. #5
    Just Joined!
    Join Date
    Apr 2005
    Location
    Venezuela
    Posts
    60

    figure out something...

    Finaly I could install the grub... Now another problem

    When I do update-grub, it automaticly assing (hd0,2) to my linux partitions. when I try to boot in this way the grub loads succesfully but the partition asignment is wrong so doesnt boot any of the linux partitions.

    So I modify the menu.lst archive so the roots where correct (hd0,1)

    The Result:
    GRUB DOESNT LOAD AGAIN...

    In one way loads grub but doesnt boot anything because the partitions are wrong, and if I correct that... it doesnt load grub ... :S

    any help?

Posting Permissions

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