View previous topic :: View next topic |
Author |
Message |
wikro n00b
Joined: 09 Dec 2004 Posts: 30 Location: Orebro
|
Posted: Mon Apr 11, 2005 3:38 pm Post subject: Overwritten the wrong conf, dont know which |
|
|
I just made a major update on my laptop. I got about 69 conf-files and decided to do a -3 on etc-update.
Strange things started to happen, in gdm, the Shut down and Reboot options were gone, so I tried to do it manually buy typing halt, didnt work, reboot, didnt work either. So I hard shut it down.
Now, whenever I boot, everything works great until its time to mount the boot partion. I get a shellprompt instead. When I try to mount /dev/hda2, it doesnt exist, in fact, NO /dev/hda* exists. And the commands reboot and halt doesnt work either.
I've already looked at the fstab-conf, and that is not it. What could it be?
Thank you for your respons. _________________ ./wikro |
|
Back to top |
|
|
cokey Advocate
Joined: 23 Apr 2004 Posts: 3355
|
Posted: Mon Apr 11, 2005 3:49 pm Post subject: |
|
|
fstab-conf? whats the output of _________________ https://otw20.com/ OTW20 The new place for off the wall chat |
|
Back to top |
|
|
pianosaurus l33t
Joined: 19 Apr 2004 Posts: 944 Location: Bash$
|
Posted: Mon Apr 11, 2005 3:52 pm Post subject: |
|
|
Reboot is probably just a symlink to halt, and halt probably doesn't work because the path environment variable is not set correctly. Try /sbin/halt instead. If that doesn't work, try /sbin/shutdown -h now to shut down, and /sbin/shutdown -r now to restart. As for the rest, I have no idea. _________________ PKA Cuber
Please add [SOLVED] to the subject of your original post when you feel that your problem is resolved.
Adopt an unanswered post |
|
Back to top |
|
|
Shazam Apprentice
Joined: 23 Nov 2004 Posts: 191 Location: Germany
|
Posted: Mon Apr 11, 2005 3:52 pm Post subject: |
|
|
well i guess your /etc/fstab got overwritten, so maybe you wanna take a look in there. that the proc is mounted, and then all the other stuff like your /dev/hda s |
|
Back to top |
|
|
BlackEdder Advocate
Joined: 26 Apr 2004 Posts: 2588 Location: Dutch enclave in Egham, UK
|
Posted: Mon Apr 11, 2005 3:55 pm Post subject: Re: Overwritten the wrong conf, dont know which |
|
|
wikro wrote: | When I try to mount /dev/hda2, it doesnt exist, in fact, NO /dev/hda* exists. |
Sounds serious and doesn't sound like a config problem. The forced reboot after your initial problem might have caused problems with your filesystem. Try booting from a livecd and give us the output of |
|
Back to top |
|
|
wikro n00b
Joined: 09 Dec 2004 Posts: 30 Location: Orebro
|
Posted: Mon Apr 11, 2005 4:26 pm Post subject: |
|
|
fstab:
Code: | /dev/hda2 /boot ext2 defaults,noatime 1 2
/dev/hda4 / reiserfs noatime 0 1
/dev/hda3 none swap sw 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
|
I dont think thats the problem, but there you have it.
Fdisk doesnt work since there are no /dev/hda*
Oh, and proc in not mounted, and every disk that IS, is Read-only, so I cant continue my updates.
Edit: Fixed some typos in the code above. _________________ ./wikro
Last edited by wikro on Mon Apr 11, 2005 5:58 pm; edited 1 time in total |
|
Back to top |
|
|
pianosaurus l33t
Joined: 19 Apr 2004 Posts: 944 Location: Bash$
|
Posted: Mon Apr 11, 2005 5:24 pm Post subject: |
|
|
Replace all "deafaults" in fstab with "defaults" and see if it helps.
Edit: Actually, since there are no /dev/hda*, it won't help. But you should probably fix it anyways. _________________ PKA Cuber
Please add [SOLVED] to the subject of your original post when you feel that your problem is resolved.
Adopt an unanswered post |
|
Back to top |
|
|
cokey Advocate
Joined: 23 Apr 2004 Posts: 3355
|
Posted: Mon Apr 11, 2005 5:46 pm Post subject: |
|
|
wikro wrote: | Fdisk doesnt work since there are no /dev/hda* |
boot up off of a gentoo cd and try then tell us that you see all the proper partitions. _________________ https://otw20.com/ OTW20 The new place for off the wall chat |
|
Back to top |
|
|
wikro n00b
Joined: 09 Dec 2004 Posts: 30 Location: Orebro
|
Posted: Mon Apr 11, 2005 5:56 pm Post subject: |
|
|
Cuber wrote: | Replace all "deafaults" in fstab with "defaults" and see if it helps.
Edit: Actually, since there are no /dev/hda*, it won't help. But you should probably fix it anyways. |
Yeah, thats because I had to type the fstab since I cant cut'n'paste from my laptop. There were bound to be some errors when you type without looking I'll fix it right away.
cokehabit wrote: | wikro wrote:
Fdisk doesnt work since there are no /dev/hda*
boot up off of a gentoo cd and try
Code:
fdisk /dev/hda
then tell us that you see all the proper partitions. |
I will do that, as soon as I have downloaded the cd, someone has borrowed mine and not returned it. _________________ ./wikro |
|
Back to top |
|
|
cokey Advocate
Joined: 23 Apr 2004 Posts: 3355
|
Posted: Mon Apr 11, 2005 6:03 pm Post subject: |
|
|
wikro wrote: | I will do that, as soon as I have downloaded the cd, someone has borrowed mine and not returned it. | Well im going to bed now, Neddy Seagoon is around and he knows everything there is to know about everything. he'll fix it. _________________ https://otw20.com/ OTW20 The new place for off the wall chat |
|
Back to top |
|
|
|