fixed:

ran ubuntu-ibex installer, it failed
https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/280270

In the installer shell:

~ # chroot /target grub-install  --no-floppy  "(hd0)"
/dev/sdb1 does not have any corresponding BIOS drive.

~ # chroot /target grub-install  --no-floppy  "(hd0)" --root-directory=/ 
--recheck
Probing devices to guess BIOS drives. This may take a long time.
Installing GRUB to (hd0) as (hd0)...
Installation finished. No error reported.
This is the contents of the device map //boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.

(hd0)   /dev/sda
(hd1)   /dev/sdb

now the box boots.

yay.

Carl K

Carl Karsten wrote:
> 2 pata drives, both on ide0, 1 cd on ide1, no sata.  sometimes a usb drive
> plugged in, which grub sees as the first drive (hd0).  But I have removed that
> issue by booting from CD, so now grub only sees the 2 pata drives.
> 
> 
> # menu.lst - See: grub(8), info grub, update-grub(8)
> #            grub-install(8), grub-floppy(8),
> #            grub-md5-crypt, /usr/share/doc/grub
> #            and /usr/share/doc/grub-doc/.
> 
> ## default num
> # Set the default entry to the entry number NUM. Numbering starts from 0, and
> # the entry number 0 is the default if the command is not used.
> #
> # You can specify 'saved' instead of a number. In this case, the default entry
> # is the entry saved with the command 'savedefault'.
> # WARNING: If you are using dmraid do not use 'savedefault' or your
> # array will desync and will not let you boot your system.
> default               saved
> 
> ## timeout sec
> # Set a timeout, in SEC seconds, before automatically booting the default 
> entry
> # (normally the first entry defined).
> timeout               3
> 
> ## hiddenmenu
> # Hides the menu by default (press ESC to see the menu)
> # hiddenmenu
> 
> # Pretty colours
> #color cyan/blue white/blue
> 
> ## password ['--md5'] passwd
> # If used in the first section of a menu file, disable all interactive editing
> # control (menu entry editor and command-line)  and entries protected by the
> # command 'lock'
> # e.g. password topsecret
> #      password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
> # password topsecret
> 
> #
> # examples
> #
> # title               Windows 95/98/NT/2000
> # root                (hd0,0)
> # makeactive
> # chainloader +1
> #
> # title               Linux
> # root                (hd0,1)
> # kernel      /vmlinuz root=/dev/hda2 ro
> #
> 
> #
> # Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
> 
> ### BEGIN AUTOMAGIC KERNELS LIST
> ## lines between the AUTOMAGIC KERNELS LIST markers will be modified
> ## by the debian update-grub script except for the default options below
> 
> ## DO NOT UNCOMMENT THEM, Just edit them to your needs
> 
> ## ## Start Default Options ##
> ## default kernel options
> ## default kernel options for automagic boot options
> ## If you want special options for specific kernels use kopt_x_y_z
> ## where x.y.z is kernel version. Minor versions can be omitted.
> ## e.g. kopt=root=/dev/hda1 ro
> ##      kopt_2_6_8=root=/dev/hdc1 ro
> ##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
> # kopt=root=UUID=653fd039-f07c-4551-aa5a-beeecdfe4d6f ro
> 
> ## default grub root device
> ## e.g. groot=(hd0,0)
> # groot=(hd2,0)
> 
> ## should update-grub create alternative automagic boot options
> ## e.g. alternative=true
> ##      alternative=false
> # alternative=true
> 
> ## should update-grub lock alternative automagic boot options
> ## e.g. lockalternative=true
> ##      lockalternative=false
> # lockalternative=false
> 
> ## additional options to use with the default boot option, but not with the
> ## alternatives
> ## e.g. defoptions=vga=791 resume=/dev/hda5
> # defoptions=vga=6
> 
> ## should update-grub lock old automagic boot options
> ## e.g. lockold=false
> ##      lockold=true
> # lockold=false
> 
> ## Xen hypervisor options to use with the default Xen boot option
> # xenhopt=
> 
> ## Xen Linux kernel options to use with the default Xen boot option
> # xenkopt=console=tty0
> 
> ## altoption boot targets option
> ## multiple altoptions lines are allowed
> ## e.g. altoptions=(extra menu suffix) extra boot options
> ##      altoptions=(recovery) single
> # altoptions=(recovery mode) single
> 
> ## controls how many kernels should be put into the menu.lst
> ## only counts the first occurence of a kernel, not the
> ## alternative kernel options
> ## e.g. howmany=all
> ##      howmany=7
> # howmany=all
> 
> ## should update-grub create memtest86 boot option
> ## e.g. memtest86=true
> ##      memtest86=false
> # memtest86=true
> 
> ## should update-grub adjust the value of the default booted system
> ## can be true or false
> # updatedefaultentry=false
> 
> ## should update-grub add savedefault to the default options
> ## can be true or false
> # savedefault=true
> 
> ## ## End Default Options ##
> 
> title         Ubuntu intrepid (development branch), kernel 2.6.27-4-server
> root          (hd1,0)
> kernel                /boot/vmlinuz-2.6.27-4-server
> root=UUID=653fd039-f07c-4551-aa5a-beeecdfe4d6f ro vga=6
> initrd                /boot/initrd.img-2.6.27-4-server
> savedefault
> 
> title         Ubuntu intrepid (development branch), kernel 2.6.27-4-server 
> (recovery mode)
> root          (hd1,0)
> kernel                /boot/vmlinuz-2.6.27-4-server
> root=UUID=653fd039-f07c-4551-aa5a-beeecdfe4d6f ro  single
> initrd                /boot/initrd.img-2.6.27-4-server
> 
> title         Ubuntu intrepid (development branch), kernel Last successful 
> boot
> root          (hd1,0)
> kernel                /boot/last-good-boot/vmlinuz
> root=UUID=653fd039-f07c-4551-aa5a-beeecdfe4d6f ro quiet splash  last-good-boot
> initrd                /boot/last-good-boot/initrd.img
> quiet
> 
> title         Ubuntu intrepid (development branch), memtest86+
> root          (hd1,0)
> kernel                /boot/memtest86+.bin
> quiet
> 
> ### END DEBIAN AUTOMAGIC KERNELS LIST
> 
> title         pxe gpxe-git-e1000.lkrn
> root          (hd1,0)
> kernel                /boot/gpxe-git-e1000.lkrn
> 
> title           Windows
> root            (hd0,0)
> savedefault
> makeactive
> chainloader     +1
> 
> Carl K
> 
> 
> Steven Shiau wrote:
>> Are there 2 disks in that machine ?
>> One PATA and one SATA ?
>> Maybe post your grub menu.list ?
>>
>> Steven.
>>
>>
>> Carl Karsten wrote:
>>> booted clonezilla-20080914-intrepid
>>> [EMAIL PROTECTED]:~# uname -a
>>> Linux dhcp91 2.6.27-3-generic #1 SMP Wed Sep 10 16:02:00 UTC 2008 i686 
>>> GNU/Linux
>>>
>>> [EMAIL PROTECTED]:~# grub --version
>>> grub (GNU GRUB 0.97)
>>>
>>> [EMAIL PROTECTED]:~# grub
>>>
>>> grub> root (hd1,0)
>>>
>>> grub> setup (hd0)
>>>  Checking if "/boot/grub/stage1" exists... yes
>>>  Checking if "/boot/grub/stage2" exists... yes
>>>  Checking if "/boot/grub/e2fs_stage1_5" exists... yes
>>>  Running "embed /boot/grub/e2fs_stage1_5 (hd0)"...  15 sectors are embedded.
>>> succeeded
>>>  Running "install /boot/grub/stage1 d (hd0) (hd0)1+15 p 
>>> (hd1,0)/boot/grub/stage
>>> 2 /boot/grub/menu.lst"... succeeded
>>> Done.
>>>
>>> [EMAIL PROTECTED]:~# reboot
>>>
>>> bios POST...
>>> Grub loading stage 1.5.
>>> Grub loading, please wait
>>> Error 2.
>>>
>>> I have run into this problem before: win on drive0, /boot on drive1, win 
>>> steps
>>> on grub... I can't figure out how to fix.
>>>
>>> Carl K
>>>
>>> Carl Karsten wrote:
>>>   
>>>> Finished unicast restoring image w2ks_e to /dev/hda1.
>>>> *****************************************************.
>>>> Restoring the first 446 bytes of MBR data, i.e. executable code area, for 
>>>> hda...
>>>> done!
>>>> *****************************************************.
>>>> No cciss related disk was detected. Skip cciss related actions...
>>>> Found grub partition: /dev/hdb1... Trying to run grub-install now...
>>>> Running: grub-install --no-floppy --root-directory=/tmp/hd_img.pe5891 
>>>> /dev/hdb
>>>> Probing devices to guess BIOS drives. This may take a long time.
>>>> The file /tmp/hd_img.pe5891/boot/grub/stage1 not read correctly.
>>>> Failed to install grub!!!
>>>> done!
>>>>
>>>> [EMAIL PROTECTED]:~# grub-install -v
>>>> grub-install (GNU GRUB 0.97)
>>>>
>>>> [EMAIL PROTECTED]:~# grub-install --no-floppy 
>>>> --root-directory=/home/partimag /dev/hda
>>>>
>>>> The file /home/partimag/boot/grub/stage1 not read correctly.
>>>>
>>>> [EMAIL PROTECTED]:~# md5sum /home/partimag/boot/grub/stage1
>>>> c05824e4047360388cf7b71296117e54  /home/partimag/boot/grub/stage1
>>>>
>>>> [EMAIL PROTECTED]:~# ls -l /home/partimag/boot/grub/stage1
>>>> -rw-r--r-- 1 root root 512 2008-10-07 19:25 /home/partimag/boot/grub/stage1
>>>> [EMAIL PROTECTED]:~#
>>>>
>>>> Somewhere it whacked grub again, cuz now I just get a grub prompt instead 
>>>> of my
>>>> menu.lst.  now to figure out how I fixed this last time...
>>>>
>>>> Carl K
>>>>
>>>>
>>>> Steven Shiau wrote:
>>>>     
>>>>> Try to use testing Clonezilla live 1.2.1 (based on Debian Lenny) or
>>>>> experimental Clonezilla live 20081005-intrepid. Both of them comes with
>>>>> newer grub. You can find them here:
>>>>> http://free.nchc.org.tw/clonezilla-live/testing/
>>>>> http://free.nchc.org.tw/clonezilla-live/experimental/
>>>>>
>>>>> Please let us know your results.
>>>>>
>>>>> Steven.
>>>>>
>>>>> Carl Karsten wrote:
>>>>>       
>>>>>> here is what I had:
>>>>>>
>>>>>> hda grub
>>>>>> hda1 ntfs w2000
>>>>>> hdb1 ext3 linux, /boot/grub/menu.lst
>>>>>>
>>>>>> Then I stepped on grub, not exactly sure how.  this didn't fix it:
>>>>>>
>>>>>> Restoring NTFS from image ...
>>>>>> 100.00 percent completed
>>>>>> Syncing ...
>>>>>>         
>>>>>>>>> Time elapsed: 386.91 secs (~ 6.448 mins), average speed: 300.0 MB/min
>>>>>>>>>               
>>>>>> Finished unicast restoring image e18w2ks_d-tmp-cnvted to /dev/hda1.
>>>>>> *****************************************************.
>>>>>> Restoring the first 446 bytes of MBR data, i.e. executable code area,
>>>>>> for hda...
>>>>>> done!
>>>>>> *****************************************************.
>>>>>> No cciss related disk was detected. Skip cciss related actions...
>>>>>> Found grub partition: /dev/hdb1... Trying to run grub-install now...
>>>>>> Running: grub-install --no-floppy --root-directory=/tmp/hd_img.Kw6597
>>>>>> /dev/hdb
>>>>>> Probing devices to guess BIOS drives. This may take a long time.
>>>>>> The file /tmp/hd_img.Kw6597/boot/grub/stage1 not read correctly.
>>>>>> Failed to install grub!!!
>>>>>>
>>>>>>
>>>>>> [EMAIL PROTECTED]:/media# mount /dev/hdb1 hdb1
>>>>>>
>>>>>> [EMAIL PROTECTED]:/media# grub-install --no-floppy
>>>>>> --root-directory=/media/hdb1 /dev/hda
>>>>>> The file /media/hdb1/boot/grub/stage1 not read correctly.
>>>>>>
>>>>>> [EMAIL PROTECTED]:/media# ls hdb1/boot/grub/
>>>>>> default        fat_stage1_5       jfs_stage1_5  minix_stage1_5     stage2
>>>>>> device.map     grub.conf          menu.lst      reiserfs_stage1_5 
>>>>>> xfs_stage1_5
>>>>>> e2fs_stage1_5  installed-version  menu.lst~     stage1
>>>>>>
>>>>>> help?
>>>>>>
>>>>>> Carl K
>>>>>>
>>>>>> -------------------------------------------------------------------------
>>>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>>>>> challenge
>>>>>> Build the coolest Linux based applications with Moblin SDK & win great
>>>>>> prizes
>>>>>> Grand prize is a trip for two to an Open Source event anywhere in the
>>>>>> world
>>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>>> _______________________________________________
>>>>>> Clonezilla-live mailing list
>>>>>> [email protected]
>>>>>> https://lists.sourceforge.net/lists/listinfo/clonezilla-live
>>>>>>         
>>>> -------------------------------------------------------------------------
>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's 
>>>> challenge
>>>> Build the coolest Linux based applications with Moblin SDK & win great 
>>>> prizes
>>>> Grand prize is a trip for two to an Open Source event anywhere in the world
>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>> _______________________________________________
>>>> Clonezilla-live mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/clonezilla-live
>>>>
>>>>
>>>>     
>>> -------------------------------------------------------------------------
>>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>>> Build the coolest Linux based applications with Moblin SDK & win great 
>>> prizes
>>> Grand prize is a trip for two to an Open Source event anywhere in the world
>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>> _______________________________________________
>>> Clonezilla-live mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/clonezilla-live
>>>   
>>
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Clonezilla-live mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/clonezilla-live
> 
> 

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Clonezilla-live mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clonezilla-live

Reply via email to