Results 1 to 10 of 11
I tried to delete a partition (/hdc12) to increase Mandriva /home partion (/hdc9) but I was only halfway sucessful, Now, Mandriva booting gets struck halfway to locate the deleted partion.
...
- 01-31-2008 #1
fstab not any more in /etc/fstab
I tried to delete a partition (/hdc12) to increase Mandriva /home partion (/hdc9) but I was only halfway sucessful, Now, Mandriva booting gets struck halfway to locate the deleted partion.
I wish to remedy this by deleting the mention in /fstab
the problem is:
in midnight commander, I cannot locate /fstab in /etc/fstab..
I cannot therefore boot into Mandriva 2008..
How can I locate /fstab to delete mention of the no longer lasting partion.
cat /fstab echoes valid resultsdr_smit
Registered Linux User # 442381
You get life once....... If you live right, once is enough!
Mandriva 2008, CentOS 5, Sabalyon..
- 01-31-2008 #2
Boot up from any LiveCD and mount / ( root) partition Or boot up in Rescue mode. Delete /dev/hdc12 mount line from /etc/fstab.
Code:nano /etc/fstab
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 01-31-2008 #3
How to locate /fstab is my problem
Its what I plan to do but there's no /fstab in /etc..
How to locate /fstab..
it exists as cat /fstab proves it..
I am offered [FileSystem Repair]# promt when the boot fails..
then I can do:
cat /fstab
and
mc (midnight commander)
By the while searching older threads for /fstab.. A mexican was all praise for INDIANS --- thanks to you DC..dr_smit
Registered Linux User # 442381
You get life once....... If you live right, once is enough!
Mandriva 2008, CentOS 5, Sabalyon..
- 01-31-2008 #4
How to locate /fstab is my problem
Its what I plan to do but there's no /fstab in /etc..
How to locate /fstab..
it exists as cat /fstab proves it..
I am offered [FileSystem Repair]# promt when the boot fails..
then I can do:
cat /fstab
and
mc (midnight commander)
By the way, while searching older threads for /fstab.. A mexican was all praise for INDIANS --- thanks to you DC..dr_smit
Registered Linux User # 442381
You get life once....... If you live right, once is enough!
Mandriva 2008, CentOS 5, Sabalyon..
- 01-31-2008 #5Code:
updatedb && slocate fstab
If it isn't anywhere to be seen you can always just make a new one. Copy one from a live cd then make adjustments if you want a template.Linux since: 2001
Gentoo since: 2004
- - - - - - - -
Translation:
I fix things until they break.
- 01-31-2008 #6
Have you tried any LiveCD?
Post the output of fdisk -l command and details about each partition, if possible.
We will create new /etc/fstab file.It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 02-01-2008 #7
noob mistake
I was looking for /fstab in MC under /etc but I had to look for fstab instead..
I edited fstab
Challenge beaten to half:-
I now can reach login screen of mandriva but putting in username and password (for default desktop KDE).. the circling around mouse arrow loops on and on and on..
I tried other desktops-- ICEWM, I am logged in but my every maneuvre echoes a warning No Suffiecient rights. If I su in console, it says wrong password.
Can this possilbly have a relation to moving /usr (I am not sure but I may have very well deleted /usr in this process)dr_smit
Registered Linux User # 442381
You get life once....... If you live right, once is enough!
Mandriva 2008, CentOS 5, Sabalyon..
- 02-01-2008 #8As your normal user execute "groups"If I su in console, it says wrong password.
If the group "wheel" doesn't show up then your user won't be able to su to root.
gpasswd -a <user> wheel
If wheel was in your user's groups, then I would ask this question: If you exit your x session and just go to a terminal, can you log in as root from there?Linux since: 2001
Gentoo since: 2004
- - - - - - - -
Translation:
I fix things until they break.
- 02-01-2008 #9dr_smit
Registered Linux User # 442381
You get life once....... If you live right, once is enough!
Mandriva 2008, CentOS 5, Sabalyon..
- 02-01-2008 #10
Sorry if I was unclear.
1.) Log in as your non-root user from the terminal (without x running)
2.) Give the following command:
groups
Here is the output of mine:
$ groups
wheel audio cdrom video games usb users scanner
You will notice that wheel is one of these groups. Being in the "wheel" group allows my normal user to "su root". If my normal user was not in the wheel group then I wouldn't be able to. It was just a thought.
To add yourself to the "wheel" group you would give this command:
gpasswd <username> wheel
If your user is already in the wheel group then there is something else amiss, but this was the only thing I could think of. At that point hopefully devils_casper will have an idea.Linux since: 2001
Gentoo since: 2004
- - - - - - - -
Translation:
I fix things until they break.


Reply With Quote

