Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
I am not able to boot distros installed in my /dev/sda HDD.
I was using the linux distros in sda for a long time now. But, suddenly it has stopped booting. So, temporarily i have install a new one on sdb so that the problem can be fixed.
That HDD is also not showing up in my BIOS boot priority list.
Please help.
Code:
fdisk -l
Disk /dev/sda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders, total 78165360 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x5454455
Device Boot Start End Blocks Id System
/dev/sda1 63 31888079 15944008+ 7 HPFS/NTFS
/dev/sda2 61433854 78043135 8304641 5 Extended
/dev/sda3 * 42456960 61432559 9487800 83 Linux
/dev/sda4 31889408 42436607 5273600 6 FAT16
/dev/sda5 77723648 78043135 159744 82 Linux swap / Solaris
/dev/sda6 61433856 77721599 8143872 83 Linux
Partition table entries are not in disk order
Disk /dev/sdb: 80.0 GB, 80026361856 bytes
240 heads, 63 sectors/track, 10337 cylinders, total 156301488 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x454545545
Device Boot Start End Blocks Id System
/dev/sdb1 15181 50682239 25333529+ f W95 Ext'd (LBA)
/dev/sdb2 * 50682240 156295439 52806600 7 HPFS/NTFS
/dev/sdb5 15183 14348879 7166848+ 7 HPFS/NTFS
/dev/sdb6 14348943 25613279 5632168+ 83 Linux
/dev/sdb7 25613343 50682239 12534448+ 7 HPFS/NTFS
That HDD is also not showing up in my BIOS boot priority list.
Please Elaborate. Does it show as detected? Is it in the boot order? What are you using to boot - grub or lilo? What is your boot command? What goes wrong?
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369
Rep:
It is not showing up in the boot priority list according to you
Try to reload the standard settings and look if it come back .
If it does come back , check you're CMOS battery
Please Elaborate. Does it show as detected? Is it in the boot order? What are you using to boot - grub or lilo? What is your boot command? What goes wrong?
Yes, it is detected. I can see it listed at Primary Master in BIOS setup.
However, in the boot priority list, it is absent.
I am using GNU GRUB 0.97.
Code:
title Linux
root (hd1,6)
kernel /boot/vmlinuz-2.6.24-28-generic root=UUID=87678768534-2345-8756-3465-4565465677788 ro quiet splash
initrd /boot/initrd.img-2.6.24-28-generic
quiet
title Linux
root (hd1,2)
kernel /vmlinuz root=/dev/sda3 ro
initrd /boot/initrd.img-2.6.32-5-686
quiet
Boot Linux, open a terminal and as root type: grub You should get the grub prompt (grub>) where you type: geometry (hd0) hit the enter key to get output and repeat with: geometry (hd1) to get output. You can then compare these to your fdisk output so you can tell if Grub sees sda as (hd0) or (hd1).
Your menu.lst output shows an entry for a Linux system on (hd1,6) which should be sdb7 and your fdisk output shows that as an ntfs partition.
Your second entry shows a Linux entry for (hd1,2) which should be sdb3 and you do not have an sdb3 partition.
When you installed your second drive, what did you put on it and how did you do it?
It is not showing up in the boot priority list according to you
Try to reload the standard settings and look if it come back .
If it does come back , check you're CMOS battery
Thanks. After Reloading the standard settings, i can see both PM & PS in the boot priority list and can boot linux on both HDD.
However, my WinXP doesnt boot, says HAL.dll is corrupted.
Also, i have changed my CMOS battery less than a month ago.
Can there be any other reason for this issue?
the menu.lst is corrected.
The not able to boot from sda situation still arises up from time to time. After 'reloading standard settings' things start working.
My CMOS battery is just one month old. What might be the issue?
Also, the 'Hal.dll is corrupt' error is not letting me boot my winXP.
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369
Rep:
[QUOTE=kaseleh;4320032]
My CMOS battery is just one month old. What might be the issue?
/QUOTE]
It is possible that you buy a new battery that is not of a good quality .
It happens to me once .
Also check the cable that connects you're drive with you're MOBO
OT: on the hal.dll error: Check for a windoze xp rescue disk. These use the files on your drive to boot a basic windoze system to recover what you have.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.