does anyone know what this means ?
i am having trouble booting GRUB through hard disk
it lockup when it reach loading GRUB stage2 ....... / 2.9GB hda1 /swap 109MB hda5 /home 2.9GB hda6 when I do this (trying to install the grub again) $grub-install /dev/hda i get this error message /dev/ide/host0/bus0/target0/lun0/part1 doesn't have any corresponding BIOS drive but in device.map it has (hd0) /dev/hda (fd0) /dev/fd0 What does all of there mean ? ps. i done grub --batch --device-map=dev/null <<EOF >device (fd0) /dev/fd0 >root (fd0) >setup (fd0) >quit >EOF when I boot from floppy it still hang , but at least it better than booting from harddrive because I get more "dots" at the end of the loading GRUB stage2 I then try the same with hard drive with ; grub>device (hd0) /dev/hda grub>root (hd0,0) grub>setup (hd0,0) i still can't boot the harddrive as well Can anyone help me with this ?? =*( been stucked here for like forever ............. I think the last resort is build from source, but I am not confident with the build from source steps can any one help me a bit to finish this build process ? here is what I had in mind so far zcat grub-0.92.tar.gz | tar xvf - cd grub-0.92 ./configure make make install make clean is that all I need or do I need some special patch from mandrake (which is what i am using) or (binutils, gas, and ld) ??? whatelse am I missing ? then what happen do i have to do : install /boot/grub/stage1 -d (hd0,0) /boot/grub/stage2 -p /boot/grub/menu.lst 0x8000 ?? or all have been auto config already ? |
download the grub package and read the install file this will tell you what to do to install it the most common commands for install from source are ./configure, make, make install, but always read the install file as this can vary from program to program
|
If you aren't on another arch than i386 you could download the binary package which is provided here
|
Maybe I am a bit stubber but I had decide to give it a 2nd go b4 I compile GRUB, because from past experience i will run into problrm while compiling stiuff d:)
I decide to install mandrake again and this time I set the partition as follow /boot 50MB hda1 / 2.9GB hda5 /swap 109MB hda6 /home 2.9GB hda7 and I get through to stage 2 but stucked whenI select the linux to boot up at the grub menu with this error message : kernel (hd0,0)/vmlinuz root=/dev/hda5 devfs=mount Error 13 : Invalid or unsupported executable format So I use the boot disk to boot up into desktop and run the GRUB shell and guess what It work in the GRUB shell ??!!?? what's going on ? ======================================= The following is what I do in the shell : grub> root (hd0, Possible partitions are: Partition num: 0, Filesystem type is ext2fs, partition type 0x83 Partition num: 4, Filesystem type is ext2fs, partition type 0x83 Partition num: 5, Filesystem type unknown, partition type 0x82 Partition num: 6, Filesystem type is ext2fs, partition type 0x83 grub> root (hd0,0) Filesystem type is ext2fs, partition type 0x83 grub> setup (hd0,0) Checking if "/boot/grub/stage1" exists... no Checking if "/grub/stage1" exists... yes Checking if "/grub/stage2" exists... yes Checking if "/grub/e2fs_stage1_5" exists... yes Running "embed /grub/e2fs_stage1_5 (hd0,0)"... failed (this is not fatal) Running "embed /grub/e2fs_stage1_5 (hd0,0)"... failed (this is not fatal) Running "install /grub/stage1 (hd0,0) /grub/stage2 p /grub/menu.lst "... succeeded Done. grub> kernel (hd0,0)/vmlinuz root=/dev/hda5 [Linux-bzImage, setup=0x1400, size=0xd58da] grub> initrd (hd0,0)/initrd.img [Linux-initrd @ 0x3d1000, 0x1e649 bytes grub> boot and it just exit to the normal xterm shell so I assume it works ==================================== The following are some informations in the system: $ more /boot/grub/device.map (fd0) /dev/fd0 (hd0) /dev/hda $ mount /dev/hda5 on / type ext3 (rw) none on /proc type proc (rw) none on /dev type devfs (rw) /dev/hda1 on /boot type ext3 (rw) none on /dev/pts type devpts (rw,mode=0620) none on /mnt/cdrom type supermount (ro,dev=/dev/hdd,fs=auto,--,iocharset=iso8859-1,codepage=850,umask=0) none on /mnt/floppy type supermount (rw,sync,dev=/dev/fd0,fs=auto,--,iocharset=iso8859-1,codepage=850,umask=0) $ more /boot/grub/menu.lst timeout 10 color black/cyan yellow/cyan i18n (hd0,0)/grub/messages keytable (hd0,0)/us.klt altconfigfile (hd0,0)/grub/menu.once default 0 title linux kernel (hd0,0)/vmlinuz root=/dev/hda5 devfs=mount initrd (hd0,0)/initrd.img title floppy root (fd0) chainloader +1 title failsafe kernel (hd0,0)/vmlinuz root=/dev/hda5 devfs=nomount failsafe initrd (hd0,0)/initrd.img |
Just for clarification I had try this in GRUB command line at the start of the boot:
root (hd0,0) setup (hd,0) the output is the same as what is shown in the GRUB shell but after this it's like no way GRUB know where vmlinuz and initrid.img is I tried : kernel (hd0,0)/vmlinuz error 13: Invalid or unsupported executable format kernel (hd0,0)/boot/vmlinuz | kernel (hd0,0) /boot/vmlinuz |All get error 1 filename must be either kernel (hd0,0)vmlinuz |an absolute pathname or blobk list kernel (hd0,0)vmlinuz error 1 |
Is your HDD setup correctly in the BIOS? Make sure it is! Everybody seems to stumble across this problem. When your system is starting up, press the DEL key like you'd press a crosswalk button, and you'll be into your system configuration - the core of your computer's hardware setup. Look around for a selection called "Advanced BIOS Settings", and see if your second hard drive it set up properly. If it lists "none", autodetect it man! And your problem's solved.
|
I checked the section about fixdisk isn't at advance bios (my BIOS is make accessable via the old "Ctrl+alt+shift+tab+esc)
but I had found the fixdisk somewhere and it's is in auto but .... it shows Fix disk 1 "101MB" fix disk auto fixdisk 3 auto fixdisk 4 auto fixdisk 1 and 2 are gray out and I have no idea where that 101 mb get there <--- I only have one fix disk 6gm installed I don't think that's the problem though because when I try to do this : kernel (hd0,0)/ then |TAB I all the files in the /boot directory even the vmlinuz, first I think the file is broken or something so I try to copy the vmlinuz from floppy to the /boot and try again but still no luck still the not executable file ..... I am thinking that if I change the file with chmod command to make it read and write and executable,I hasn't try it yet .... but woun't that make the system insecure to outside ? |
hi guys,
tell me how to get my c shell and how to use it. colynz... |
Colyn
Please don't hijack another members thread. Please start a new thread under your own name in the correct forum. You will need to fully explain your problem. |
All times are GMT -5. The time now is 11:25 PM. |