Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
AmiBios not booting my hard drive
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
tgoodaire
Tux's lil' helper
Tux's lil' helper


Joined: 31 Jan 2003
Posts: 145
Location: Dartmouth, Nova Scotia, Canada

PostPosted: Sat Feb 01, 2003 12:19 am    Post subject: AmiBios not booting my hard drive Reply with quote

I've gotten through the gentoo installation guide up to the point where I need to reboot. I have compiled my kernel and set up grub. Grub is on a primary partition that is set to bootable. I'm guessing that it's a bios problem, but I'm not sure. When I boot up it says

"Looking for a bootable partition on IDE-0...OK"

And then nothing. I can boot from the gentoo cd and mount the hard drive and everything's ok. For some reason, my bios won't recognize that the hard drive is bootable. I'm hoping that someone else can give my an idea as to what I can try. The only thing that I can think of is flashing the bios.
Back to top
View user's profile Send private message
steveb
Advocate
Advocate


Joined: 18 Sep 2002
Posts: 4564

PostPosted: Sat Feb 01, 2003 12:26 am    Post subject: Reply with quote

is the boot partition active?

what is the printout of
Code:
fdisk -l /dev/hdX
(replace /dev/hdX with your boot hd)


cheers

SteveB
Back to top
View user's profile Send private message
tgoodaire
Tux's lil' helper
Tux's lil' helper


Joined: 31 Jan 2003
Posts: 145
Location: Dartmouth, Nova Scotia, Canada

PostPosted: Sat Feb 01, 2003 6:16 pm    Post subject: fdisk -l /dev/hda Reply with quote

Disk /dev/hda: 255 heads, 63 sectors, 4865 cylinders
Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 608 4883728+ 83 Linux
/dev/hda2 609 4865 34194352+ 5 Extended
/dev/hda5 609 639 248976 82 Linux swap
/dev/hda6 640 4865 33945313+ 83 Linux

I don't know if this means that /dev/hda is active or not, but it looks like it's bootable. How do I activate it if it's not?

Thanks,
Tim
Back to top
View user's profile Send private message
steveb
Advocate
Advocate


Joined: 18 Sep 2002
Posts: 4564

PostPosted: Sat Feb 01, 2003 6:23 pm    Post subject: Reply with quote

yes. hda1 is active.
/dev/hda1 * 1 608 4883728+ 83 Linux

the star (*) indicates a active partition.

you can allways deactivate it with fdisk if you want.


however... it does not look like a activation problem.
may i ask you what os or fs did you have bevore installing gentoo on that disk?


cheers

SteveB
Back to top
View user's profile Send private message
tgoodaire
Tux's lil' helper
Tux's lil' helper


Joined: 31 Jan 2003
Posts: 145
Location: Dartmouth, Nova Scotia, Canada

PostPosted: Sat Feb 01, 2003 7:08 pm    Post subject: Reply with quote

I had Windows XP on that disk originally. It's a new motherboard though, and I'm starting to wonder if it may be the problem.
Back to top
View user's profile Send private message
steveb
Advocate
Advocate


Joined: 18 Sep 2002
Posts: 4564

PostPosted: Sat Feb 01, 2003 7:22 pm    Post subject: Reply with quote

if i remember right, then you probably need to zero some sectors on the first boot disk if you had ntfs runing on that disk. search the forum for more info.
or look in the cd installation guide, chapter 6.1.


cheers

SteveB
Back to top
View user's profile Send private message
tgoodaire
Tux's lil' helper
Tux's lil' helper


Joined: 31 Jan 2003
Posts: 145
Location: Dartmouth, Nova Scotia, Canada

PostPosted: Sun Feb 02, 2003 12:20 am    Post subject: Zeroing partition Reply with quote

Ok. I followed the instructions to zero out the start of the partition, then I repartitioned. I'm going to bootstrap, emerge system, build my kernel, and install it with grub. I'll let you know if this works for me.

Thanks for your help.

Tim
Back to top
View user's profile Send private message
tgoodaire
Tux's lil' helper
Tux's lil' helper


Joined: 31 Jan 2003
Posts: 145
Location: Dartmouth, Nova Scotia, Canada

PostPosted: Sun Feb 02, 2003 9:41 pm    Post subject: Still won't work. Reply with quote

I'm still having the same problem. I think I'll try and flash the bios and see if that helps.
Back to top
View user's profile Send private message
rommel
Veteran
Veteran


Joined: 19 Apr 2002
Posts: 1145
Location: Williamsburg Virginia

PostPosted: Sun Feb 02, 2003 10:14 pm    Post subject: Reply with quote

did you install grub? if so try making a grub boot floppy and using it to boot your install , giving it the same params you have in grub.conf

grub> root (hd0,0)

grub> setup (hd0)

grub> kernel /boot/bzImage root=/dev/hda6 <anything else you need to pass>

grub> boot

i am thinking this is not your mainboard or its bios but it fails to get a bootloader going
Back to top
View user's profile Send private message
tgoodaire
Tux's lil' helper
Tux's lil' helper


Joined: 31 Jan 2003
Posts: 145
Location: Dartmouth, Nova Scotia, Canada

PostPosted: Fri Feb 07, 2003 8:16 pm    Post subject: Problem solved Reply with quote

It turns out that the problem was that I made my / partition reiser and didn't make a /boot partition. My bios couldn't read the partition table because it was a reiser partition. I figured it out when I booted from a dos floppy, ran fdisk and there were no partitions defined, but cfdisk from the gentoo cd showed that there were partitions.

(Partitioning my hard drives the same way worked on my laptop, which confused me for a while.)

I guess the lesson to learn is that you should create a /boot partition, and it should be ext2.

So tonight, I'll be installing gentoo again on my new partitions. With any luck, I'll be up and running soon!

Thanks for your help and suggestions everyone.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum