Page 1 of 1 [ 9 posts ] 

jamiethesilent
Raven
Raven

User avatar

Joined: 11 Jul 2010
Age: 25
Gender: Male
Posts: 100
Location: Mid Wales.

10 Dec 2010, 4:00 pm

I just messed up my system:

Here is the problem:

1) I have no root user on the system.
2) sudo is in 0444 not 0440. But haveing no root i cannot change this.
3) My BIOS cannot boot from USB/Live Cd.
4) recovery mode reqiurees sud to preform commands.
Is there anyt way to fix this?

James


_________________
If we knew what it was we were doing, it would not be called research, would it?
-Albert Einstein

- Cruch Bang Linux.


nodice1996
Supporting Member
Supporting Member

User avatar

Joined: 3 Jan 2008
Age: 24
Gender: Male
Posts: 1,047
Location: Michigan

10 Dec 2010, 5:10 pm

How can you not boot from a cd? Is it your boot order, or do you not have a cd drive. And what distro of linux are you using?(I'm going to assume this is linux because it is the most common form of *nix that has open command line)


_________________
Guns don't kill people--Magic Missiles Do.


nodice1996
Supporting Member
Supporting Member

User avatar

Joined: 3 Jan 2008
Age: 24
Gender: Male
Posts: 1,047
Location: Michigan

10 Dec 2010, 5:10 pm

How can you not boot from a cd? Is it your boot order, or do you not have a cd drive. And what distro of linux are you using?(I'm going to assume this is linux because it is the most common form of *nix that has open command line)


_________________
Guns don't kill people--Magic Missiles Do.


Orwell
Veteran
Veteran

User avatar

Joined: 8 Aug 2007
Age: 31
Gender: Male
Posts: 12,518
Location: Room 101

10 Dec 2010, 5:20 pm

Out of curiousity, how did you manage to install Linux in the first place if you can't boot from cd or usb?


_________________
WAR IS PEACE
FREEDOM IS SLAVERY
IGNORANCE IS STRENGTH


jamiethesilent
Raven
Raven

User avatar

Joined: 11 Jul 2010
Age: 25
Gender: Male
Posts: 100
Location: Mid Wales.

11 Dec 2010, 3:38 am

It has the capability to boot from CD. But the option is not installed. I am running ubuntu 11.04. It can boot from a floppy. The computer is a Dell Optiplex GX150. Without out the internal CD drive. I caused the error by going to etc/ and tyeping: chmod +r /etc/sudoers (Stupid I know). it was only afterwards I realized how stupid that was.


_________________
If we knew what it was we were doing, it would not be called research, would it?
-Albert Einstein

- Cruch Bang Linux.


Orwell
Veteran
Veteran

User avatar

Joined: 8 Aug 2007
Age: 31
Gender: Male
Posts: 12,518
Location: Room 101

11 Dec 2010, 4:15 am

I don't know if that's something that can be fixed unless you find some privilege escalation exploit to gain root access and clean things up. Your best bet is probably to install a stable release (not an early alpha build) and avoid doing strange things to important system files.


_________________
WAR IS PEACE
FREEDOM IS SLAVERY
IGNORANCE IS STRENGTH


jamiethesilent
Raven
Raven

User avatar

Joined: 11 Jul 2010
Age: 25
Gender: Male
Posts: 100
Location: Mid Wales.

11 Dec 2010, 11:43 am

I am going to install a cd drive and install Debian..

Thanks for all your help.

It turns out it is a fatal error in the sense sudo can never be restored.


James


_________________
If we knew what it was we were doing, it would not be called research, would it?
-Albert Einstein

- Cruch Bang Linux.


LordoftheMonkeys
Veteran
Veteran

User avatar

Joined: 15 Aug 2009
Age: 31
Gender: Male
Posts: 927
Location: A deep,dark hole in the ground

12 Dec 2010, 3:16 pm

If you can't boot from a CD, it's a hardware problem, not a problem with the operating system. It could be that either the disk or the CD drive is corrupted. I once tried to write a bootable installer to an unpartitioned USB drive, and when I tried to boot off of it, the BIOS didn't detect it. It could also be a firmware issue.


_________________
I don't want a good life. I want an interesting one.


jamiethesilent
Raven
Raven

User avatar

Joined: 11 Jul 2010
Age: 25
Gender: Male
Posts: 100
Location: Mid Wales.

13 Dec 2010, 3:40 am

I do not have a installed cd r/w drive. I had to borrow my sisters.


_________________
If we knew what it was we were doing, it would not be called research, would it?
-Albert Einstein

- Cruch Bang Linux.