LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 04-09-2011, 09:38 AM   #1
kaseleh
LQ Newbie
 
Registered: Apr 2011
Posts: 4

Rep: Reputation: 0
Question Not able to boot distro in 2nd HDD


Hello,

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
 
Old 04-09-2011, 10:21 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 8,721

Rep: Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887
Quote:
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?
 
Old 04-09-2011, 10:33 AM   #3
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
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: Reputation: Disabled
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
 
1 members found this post helpful.
Old 04-09-2011, 10:36 AM   #4
kaseleh
LQ Newbie
 
Registered: Apr 2011
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by business_kid View Post
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
Both of above give:
Code:
Error 21: Disk does not exists
 
Old 04-09-2011, 12:27 PM   #5
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,397

Rep: Reputation: 1417Reputation: 1417Reputation: 1417Reputation: 1417Reputation: 1417Reputation: 1417Reputation: 1417Reputation: 1417Reputation: 1417Reputation: 1417
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?
 
Old 04-09-2011, 12:33 PM   #6
kaseleh
LQ Newbie
 
Registered: Apr 2011
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ronlau9 View Post
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?
 
Old 04-09-2011, 12:35 PM   #7
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 8,721

Rep: Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887
http://wiki.linuxquestions.org/wiki/GRUB
Look for error 21

I would also worry about the partition table on sda. I got errors from one m/b with 2 disks attached to the same ide cable, but it ran on one.

Getting into grub and typing
Code:
root (hd0,3)
might also help to narrow it down.
 
Old 04-10-2011, 11:31 AM   #8
kaseleh
LQ Newbie
 
Registered: Apr 2011
Posts: 4

Original Poster
Rep: Reputation: 0
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.

Last edited by kaseleh; 04-10-2011 at 11:33 AM.
 
Old 04-10-2011, 12:21 PM   #9
mryuck
Member
 
Registered: Feb 2010
Posts: 107

Rep: Reputation: 23
hal.dll will need to be restored using the recovery console.
You should have no trouble finding step by step instructions.
 
Old 04-10-2011, 02:57 PM   #10
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
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: Reputation: Disabled
[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
 
Old 04-11-2011, 03:53 AM   #11
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 8,721

Rep: Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot boot into Ubuntu after installation of windows on 2nd hdd azteka22 Ubuntu 2 12-03-2009 10:37 PM
Installing a 2nd distro on the same hdd dms05 Linux - Newbie 4 11-07-2009 08:32 AM
Windows 2000 Boot issue after install of Fedora Core on 2nd HDD jchannell Linux - Newbie 0 01-14-2004 08:31 PM
/boot duplicate (2nd hdd wont mount) dsiguy Linux - General 4 09-25-2003 02:46 PM
Linux boot from 2nd HDD in T21 pholm01 Linux - Software 4 12-14-2001 09:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration