Linux - Hardware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
10-08-2010, 11:04 AM
|
#1
|
|
LQ Newbie
Registered: Dec 2009
Posts: 10
Rep:
|
grub problem cannot load hd0
Is my system toasted? Any way to restore this?
grub> root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
grub> root (hd0,1)
Filesystem type unknown, partition type 0x8e
grub> setup (hd0)
Checking if "/boot/grub/stage1" exists... no
Checking if "/grub/stage1" exists... no
Error 2: Bad file or directory type
thanks...
-h
|
|
|
|
10-08-2010, 01:13 PM
|
#2
|
|
Senior Member
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Peppermint
Posts: 3,391
|
Is this a new installation?
Did you have your system working? If so, did you make any changes just prior to this problem?
Your root (hd0,0) shows Linux on the first partition of the first drive.
Your root (hd0,1) shows Linux LVM partition.
What distribution are you using, Fedora? CentOS? other?
Either Grub wasn't installed or it is looking in the wrong partition for the boot files so do you have a LiveCD you can use to get partition information as well as the menu.lst to post here? Or do you have another Linux OS on the computer to use?
You haven't given enough information for anyone to really help.
You would need to use the LiveCD or another Linux OS on the machine to mount the partitions to get to the menu.lst file. You can run the fdisk command from the LiveCD from a terminal. Don't know what your knowledge level is so if you don't know how to do this, post back and include the information requested above.
|
|
|
|
10-12-2010, 08:14 PM
|
#3
|
|
Member
Registered: Aug 2008
Distribution: Gentoo; FreeBSD
Posts: 180
Rep:
|
new solution
install grub2
grub-install /dev/sda
|
|
|
|
10-12-2010, 08:24 PM
|
#4
|
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 11,223
|
LVM is a block device, not a filesystem. I don't believe grub (classic) supports LVM.
grub2 will bring its own load of heartaches.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 06:31 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|