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.
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.
|
 |
03-01-2003, 12:48 AM
|
#1
|
LQ Newbie
Registered: May 2002
Location: Bangalore
Distribution: Linux
Posts: 20
Rep:
|
/boot partition corrputed
Hi All,
I have a dual boot system with two hard drives... on the first drive (hda) i have win2k. And the second drive i hv (hdc) Redhat linux 7.2 both was working fine ... no problems was there...
Now the problem is my linux boot partition has corrputed when i select the Redhat linux tooo boot it drops to be a grub shell prompt.... I have a boot floppy when is boot through floppy its boot fines ..... and i get a message say /boot mount can't be mounted ... i guess coz the /boot partition has corrpution .... here is the /var/log/messages i hv when i boot through flpoppy so tht u guys can help me to reslove the problem... Is there a way to put back the /boot parition working fine ...
this is the error i get when i boot through floppy
==============================================
Feb 28 21:54:42 dpen mount: mount: wrong fs type, bad option, bad superblock on /dev/hdc1,
==============================================
Thanx in advance ......
Vinay R
|
|
|
03-01-2003, 01:15 AM
|
#2
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
Did you do anything to it? Did you add new hardware? I'm having a bit of trouble understanding you, however I'm guessing you are saying you can boot up with a boot floppy. If that is so, try booting all the way up, and run:
fdisk -l
Watch to see if your partitions have changed. Try mounting the /boot partititon at a temporary location, maybe /mnt/boot
If you didn't have much there to recover, and you've got a working kernel (on your boot floppy) you could simply recreate the partition, copy the boot info back over to the newly recreated partition, and go.
Or, you can always build a new kernel, and do the same thing.
Cool
|
|
|
03-02-2003, 10:39 PM
|
#3
|
LQ Newbie
Registered: May 2002
Location: Bangalore
Distribution: Linux
Posts: 20
Original Poster
Rep:
|
hi,
I have checked i have a /boot partition but .. nothing is there in it other than grub driectory & kernel.h files thats it ...
so u suggest to copy the boot floppy contain to the /boot partition right ??? or else build a new kernel ????? plz let me know ...
|
|
|
03-03-2003, 04:33 AM
|
#4
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
Yeah, copy the kernel image from the boot floppy or build a new kernel. Personally never built a boot floppy, so I wouldn't know exactly what other files are and aren't there, so if you see a System.map file on the floppy too, copy that to the /boot partition as well. Your kernel will probably be named either vmlinuz or bzImage and might be followed with a -kernelversion or something like that.
You might be better off building a new kernel, however, that's a bit more work than copying files from a floppy, so give that a run first.
Cool
|
|
|
03-03-2003, 10:25 PM
|
#5
|
LQ Newbie
Registered: May 2002
Location: Bangalore
Distribution: Linux
Posts: 20
Original Poster
Rep:
|
Now i am not able to boot through floppy this is the message i get ...
==============================================
mounting /proc filesystem
creating root devices
mounting root filesystem
VFS: Can't find ext3 filesystem on dev ide1(22,2)
mount: error 22 mounting ext3
pivotroot: pivot.root (/sysroot,/sysroot/initrd) failed:2
Freeing unused kernel memory: 220k freed
kernel panic: No init found. Try passing init=option to kernel.
==============================================
can u plz help on this .... as i need very badly to boot coz all my data is in it.....
Rgds,
Vinay R
|
|
|
03-03-2003, 11:26 PM
|
#6
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
It looks like data is corrupting more and more. At this point, you should look into using a rescue disc (maybe your install CD can be used as one, if not, look into using knoppix from google.com/linux ) and getting info off the drive. After recovering what you must have, run an fsck on the drive:
fsck /dev/hdx
You might not be lucky enough to get anything at this point if data is corrupting it that bad. Good Luck!
Cool
|
|
|
All times are GMT -5. The time now is 12:14 PM.
|
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
|
|