View previous topic :: View next topic |
Author |
Message |
Andersson Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/16562293853fedf8cdcf2e7.png)
Joined: 12 Jul 2003 Posts: 525 Location: Göteborg, Sweden
|
Posted: Wed Mar 24, 2004 4:07 pm Post subject: Old computer + new hd: can't boot from hard drive |
|
|
I have a really old computer, a pentium 120, which I installed gentoo on.
Installation was successful, but I have problems booting up gentoo. Booting from the hard drive is probably not an option -I get a Primary HDC failure - Press F1 to RESUME error when booting. Perhaps the bios can't handle large drives (it's 40 Gb). I can't even get to the bios setup, I've tried delete, F1-F12, and pretty much every key I could find. So I need a boot disk.
The slackware boot disk can boot slackware from another partition on the hard disk (it can boot gentoo as well, but there's no devfs in the default slack kernel). Smart boot manager doesn't find any hard drive (none listed in the menu), neither does the grub boot disk (selected disk does not exist).
I tried making my own boot disk, but make zdisk in /usr/src/linux/ says my kernel is too big (1014 kb -how small does it need to be?) and if I just dd my kernel to a floppy I get a message about "booting from floppy not supported anymore -use a bootloader".
I do have a 1 Gb hd that I know works, but it's very old and I'm afraid it will crash. Besides, there's no room inside the case for it.
I'm out of ideas. Suggestions please ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
daniel87 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/The Matrix/movie_the_matrix_agent_smith.gif)
Joined: 12 Mar 2004 Posts: 10 Location: Sweden
|
Posted: Wed Mar 24, 2004 9:09 pm Post subject: |
|
|
I've have the same problem as you. So I googled and found a bootloader that not use bios.
It can be downloaded from [url]http://www.linuxsoft.cz/en/sw_detail.php?id_item=885[/url].
I didn't now how to configure it, but you can maybe do it. If you can have nunimbr on your old drive and nuni on your new can you set your old one as primary and your new as none in bios. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Andersson Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/16562293853fedf8cdcf2e7.png)
Joined: 12 Jul 2003 Posts: 525 Location: Göteborg, Sweden
|
Posted: Wed Mar 24, 2004 10:12 pm Post subject: |
|
|
You're right, it looks like it should work with this nuni program. You're also right in that it seems tricky to use I'll try again tomorrow. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
OhSh33t Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Southpark/avatar29.gif)
Joined: 03 Sep 2003 Posts: 169 Location: South-Seattle Park
|
Posted: Wed Apr 07, 2004 3:20 am Post subject: |
|
|
Hi Andersson,
I'm having the same problem trying to help one of my friends. I loaded Gentoo onto an old Dell Optiplex Intel MMX 200something MHz. Setup fdisk per the install docs except I'm using Ext3 file system for my /boot partition versus Ext2, thus needing to make hda1 +64M instead of +32M.
Everything compiled just fine. Setup grub per the install doc's and when it came time to reboot.. I get the dreaded "Primary Hard disk not found". Checked on Phoenixbios site and they say that they don't provide bios upgrades for Dell hardware.. Went to Dells site and they only provide bios upgrades via windows installer.... So I don't even know if the Bios upgrade Dell provides would even remedy the problem. Looking into that..
Any suggestions? And did you come up with a work around for your problem? Please share.
Thanks, _________________ JB |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Andersson Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/16562293853fedf8cdcf2e7.png)
Joined: 12 Jul 2003 Posts: 525 Location: Göteborg, Sweden
|
Posted: Wed Apr 07, 2004 1:18 pm Post subject: |
|
|
I never got nuni to work. I thought about emailing the author with some questions, but then I solved the problem by trading the 40 Gb hard drive for a 20 Gb one instead and copied all the partitions. The computer booted just fine
If your friend's computer is newer than mine, perhaps he can boot from a cd. I don't have that option in bios, but if I had I might have tried making some kind of bootable cd with a custom kernel and then chrooting to the hard drive. I'm going to use it as a firewall, so I figured I wouldn't have to boot it very often.
Hmm.... And you're sure it's the hd and not just that you forgot the bootable flag or running lilo/grub or something? How big is it? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gringo Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/9565137345531ca1c9c61.jpg)
Joined: 27 Apr 2003 Posts: 3793
|
Posted: Wed Apr 07, 2004 1:34 pm Post subject: |
|
|
If the drive is form seagate, how about giving diskwizard a try ??
I believe each manufacturer has its own utility doing this job. I know its not a perfect solution but you drive will boot and work in any computer. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
stonent Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/63557126942742b7540725.jpg)
Joined: 07 Aug 2003 Posts: 1139 Location: Texas
|
Posted: Wed Apr 07, 2004 1:57 pm Post subject: |
|
|
If it is failing before booting then software won't fix it. Check the drive docutmentation for a jumper setting to make the drive appear to be smaller. Once linux is booted it will see the full size of the drive. (I had to do this on an old P133 that failed with my 2.7gb Maxtor drive, but jumpering it for 2.1gb allowed it to boot and see the whole drive under Linux) _________________ Inspiron 4100 & Sun UltraAXe
Portage on Solaris|Dell Laptop Hacks
The way you feel about organized religion is the same way I feel about organized socialism. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pjp Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/1154772887439692d88303b.jpg)
Joined: 16 Apr 2002 Posts: 20589
|
Posted: Wed Apr 07, 2004 3:11 pm Post subject: |
|
|
Moved from OTG to Kernel & Hardware. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
OhSh33t Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Southpark/avatar29.gif)
Joined: 03 Sep 2003 Posts: 169 Location: South-Seattle Park
|
Posted: Wed Apr 07, 2004 5:11 pm Post subject: |
|
|
Andersson wrote: |
Hmm.... And you're sure it's the hd and not just that you forgot the bootable flag or running lilo/grub or something? How big is it? |
The HD is a 16gig Western Digital.. or 16,383 thousand some cylinders. When we look at the bios it will only recognize upto 9,999. So, one work-around would be to simply use a smaller drive that is like 8 or 6 gigs. This is only going to be a firewall as well. So 2 gigs for that matter..
As for the boot flag in fdisk and the grub setup.. I highly doubt this guy messed that up.. but I will have him boot off the cd, and I'll ssh in, to check it out..
stonent wrote: | If it is failing before booting then software won't fix it. Check the drive docutmentation for a jumper setting to make the drive appear to be smaller. Once linux is booted it will see the full size of the drive. (I had to do this on an old P133 that failed with my 2.7gb Maxtor drive, but jumpering it for 2.1gb allowed it to boot and see the whole drive under Linux) |
Wow.. I was never aware of that. I was aware of gringo's suggestion but hopefully I don't have to use that workaround.. _________________ JB |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
OhSh33t Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Southpark/avatar29.gif)
Joined: 03 Sep 2003 Posts: 169 Location: South-Seattle Park
|
Posted: Wed Apr 07, 2004 7:43 pm Post subject: |
|
|
Andersson wrote: |
Hmm.... And you're sure it's the hd and not just that you forgot the bootable flag or running lilo/grub or something? How big is it? |
I ssh'ed in and this is what I see. Please tell me if this looks alright?
Code: |
Device Boot Start End Blocks Id System
/dev/hda1 * 1 9 72261 83 Linux
/dev/hda2 10 41 257040 82 Linux swap
/dev/hda3 42 1653 12948390 83 Linux
|
Code: |
/dev/hda1 /boot ext3 noauto,noatime 1 2
/dev/hda2 none swap sw 0 0
/dev/hda3 / ext3 noatime 0 1
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/cdroms/cdrom0 /mnt/cdrom auto noauto,user 0 0
/dev/fd0 /mnt/floppy auto noauto 0 0
|
Code: |
default 0
timeout 30
splashimage=(hd0,0)/grub/splash.xpm.gz
title=Gentoo Linux 2.4.25
root (hd0,0)
kernel /kernel-2.4.25 root=/dev/hda3
|
_________________ JB |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
OhSh33t Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Southpark/avatar29.gif)
Joined: 03 Sep 2003 Posts: 169 Location: South-Seattle Park
|
Posted: Wed Apr 07, 2004 8:33 pm Post subject: |
|
|
Ok.. assuming that we can't find a quick workaround can we just boot off the CD... chroot in and setup the firewall.. bring up the interfaces.. start the firewall and just leave the machine running?
Are these the correct steps for getting back in and doing what I need to do?
Code: |
# mount /dev/hda3 /mnt/gentoo
# mount /dev/hda1 /mnt/gentoo/boot
# mount -t proc none /mnt/gentoo/proc
# cd /mnt/gentoo
# chroot /mnt/gentoo /bin/bash
# env-update
Regenerating /etc/ld.so.cache...
# source /etc/profile
|
Thanks, _________________ JB |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
OhSh33t Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Southpark/avatar29.gif)
Joined: 03 Sep 2003 Posts: 169 Location: South-Seattle Park
|
Posted: Wed Apr 07, 2004 9:44 pm Post subject: |
|
|
stonent wrote: | If it is failing before booting then software won't fix it. Check the drive docutmentation for a jumper setting to make the drive appear to be smaller. Once linux is booted it will see the full size of the drive. (I had to do this on an old P133 that failed with my 2.7gb Maxtor drive, but jumpering it for 2.1gb allowed it to boot and see the whole drive under Linux) |
Your the man Stonent.. We've got it working by following some jumper recommendations via the WD documentation..
Thanks.. _________________ JB |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Andersson Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/16562293853fedf8cdcf2e7.png)
Joined: 12 Jul 2003 Posts: 525 Location: Göteborg, Sweden
|
Posted: Thu Apr 08, 2004 1:19 am Post subject: |
|
|
OhSh33t wrote: | stonent wrote: | If it is failing before booting then software won't fix it. Check the drive docutmentation for a jumper setting to make the drive appear to be smaller. Once linux is booted it will see the full size of the drive. (I had to do this on an old P133 that failed with my 2.7gb Maxtor drive, but jumpering it for 2.1gb allowed it to boot and see the whole drive under Linux) |
Your the man Stonent.. We've got it working by following some jumper recommendations via the WD documentation..
Thanks.. |
Aww... I wish I had gotten this advice! I would have saved 20 Gigs! ![Evil or Very Mad :evil:](images/smiles/icon_evil.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|