Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Given what has taken place, I would like an opinion as to whether or not the problem I am having is hardware related. Here is what is going on:
This is on a slackware 12.1 os.
Last night attempted to shut down and power off pc.
shut down stalled -- from log looked like it tried to reboot.
Powered off pc with the power switch.
This morning, when I tried to boot, bios said no active partition
bios is recognizing the hard drive.
Booted pc using gparted live cd.
booted ok;
one of the gparted-live options was to boot a hard drive, if available.
tried that, and pc booted ok using the installed grub loader.
So, can someone offer an opinion - What kind of problem am I looking at?
What bootloader are you using ? lilo ? What filesystem are you using on your /boot partition (on whatever partition /boot is on) ? was there any error issued by the bootloader ?
I should have thought about this a little more before posting.
It looks like the error occurs before the bios reads the mbr.
the error displayed is "no active partition" Would this mean that the bios failed to read the master boot record? If this is true, and I can boot the system that is on the hard drive using the live-cd, then would this mean that the mbr got trashed? If thats true, can I re-load the mbr? without having to re-install grub?
Here is the fdisk listing of the primary master:
Code:
root@abitbox:~# fdisk -l /dev/hda
Disk /dev/hda: 80.0 GB, 80060424192 bytes
255 heads, 63 sectors/track, 9733 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000aaca0
Device Boot Start End Blocks Id System
/dev/hda1 * 1 4863 39062016 83 Linux
/dev/hda2 4864 9361 36130185 83 Linux
/dev/hda3 9362 9733 2988090 83 Linux
fsck indicated a bad superblock -- got to do a search
and find out where the backup superblocks are located.
"mkfs.ext3 -n ..." is probably easiest.
I recently had to ditch an old laptop when it decided it wouldn't boot the disk anymore - I got sick of booting the floppy.
Just a thought:
Check if your BIOS is still set to boot from the HD?
I had a similar issue immediately after a WindowsXP upgrade to SP3 on a dual boot system. Somehow / somewhere something changed and I had to get into the BIOS to fix it. I think the system tried to boot from the memory card that was inserted in my printer.
as he tiptoes off stage quietly, trying to make himself invisible---
Yes, the bios was set to boot from the hard drive; the problem was that there is another bios setting that specifies in what sequence the hard drives should be checked!
Somewhere along the way I must have managed to change that setting ---it was pointing to a hard drive with no bootable partition defined.
Oh well; everything was not lost; this resulted in convincing me to take the time to back up and then scan the hard drive.
Thanks, everyone; this has been another ??enjoyable?? learning experience
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.