I messed up the root and it won't boot

Asked by tim

I screwed up. I have changed root privileges, because I was installing Vuze, which was a dumb move but I couldn't get Vuze to work. Anyway, before I could get back to putting root as it should be I lost power to the computer. So know the computer won't boot back to Ubuntu. I booted back into recovery mode and get this information:

can not read 'etc/udev/rules.d/z.80_user.rules'

it tells me to run fsck MANUALLY...but I don't know how or can

it also says, mountall: fsck / (487) teminated with status 4 and 3
                     Mount of filesystem failed
                     A maintenance shell will now be started.
                     Give root password for maintenance
                     (or type Control -D to continue):
                   Login incorrect.
                    Give root password for maintenances
However nothing happens and this is where I'm stuck

I try typing in my root password but nothing happens.....and this

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-terminal Edit question
Assignee:
No assignee Edit question
Solved by:
tim
Solved:
Last query:
Last reply:
Revision history for this message
tim (brucetim100) said :
#1

is where I'm stuck at

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

Boot to the liveCD and chroot to the installed system, you can then play with permissions all you like.

Why were you messing with so much of the system? Vuze only needs a single folder accessible, not the whole partition.

Revision history for this message
tim (brucetim100) said :
#3

Thanks for your reply..this mess has me in a bigger mess with deadlines for my work...anyway
yes it was stupid in hindsight, but when reading a bunch of sites on line it seemed right at the time.
Can you give me more details on this chroot...I've booted to liveCD a few times in trying to figure this out, but I don't get very far, becuase I don't know the commands in sudo very well.
> To: <email address hidden>
> From: <email address hidden>
> Subject: Re: [Question #90573]: I messed up the root and it won't boot
> Date: Tue, 17 Nov 2009 13:31:24 +0000
>
> Your question #90573 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/90573
>
> Status: Open => Answered
>
> actionparsnip proposed the following answer:
> Boot to the liveCD and chroot to the installed system, you can then play
> with permissions all you like.
>
> Why were you messing with so much of the system? Vuze only needs a
> single folder accessible, not the whole partition.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/90573/+confirm?answer_id=1
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/90573
>
> You received this question notification because you are a direct
> subscriber of the question.

_________________________________________________________________
Hotmail: Trusted email with powerful SPAM protection.
http://clk.atdmt.com/GBL/go/177141665/direct/01/

Revision history for this message
tim (brucetim100) said :
#4

I'm in the liveCD terminal now....but not really sure what to do?

Revision history for this message
tim (brucetim100) said :
#5

I'm thought to just re-install Ubuntu. However, when I try Live CD says there are errors, and I should run fdsck or somehting like that. Well I can't cause can't get to it, except if I go into GParted....there I can check and repair the file system but it says I might lose my data. I mostly wanted to save my thunderbird and mozilla stuff as I have tons of info in each, but I can't move these folders becuase I don't have the premission

Revision history for this message
tim (brucetim100) said :
#6

well I took the plunge and scan the ext under Gpart...nothing came up...so I went back to installing from LiveCD of course I didn't mark the directory for formatting as I want to save the data, but the installation program says directories containing system files that already exist under any defined mountpoint will be delted during install. That I can't afford so I"m back to wondering how can I get some of my data off that area.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#7
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#8

You should have a backup regime if the data is important

You can mount the partitions in liveCD using places and copy the data over to another PC via network, or USB / SD Card etc etc.

Revision history for this message
tim (brucetim100) said :
#9

It doesn't let me copy the data....I'm trying to access it....

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#10

try:

gksudo nautilus

You can now access whatever you wish.

Revision history for this message
tim (brucetim100) said :
#11

I just don't get what I'm supposed to do after I gksudo nautilus. Anyway thanks for your help. I just went for it and reinstalled the OS. I lost some stuff, but at least I can work.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#12

FWIW:

andy@fileserver:~$ file /etc/udev/rules.d/z.80_user.rules
/etc/udev/rules.d/z.80_user.rules: ERROR: cannot open `/etc/udev/rules.d/z.80_user.rules' (No such file or directory)
andy@fileserver:~$ file /etc/udev/rules.d/
56-hpmud_support.rules 70-persistent-net.rules
70-persistent-cd.rules README
andy@fileserver:~$ file /etc/udev/rules.d/

You could have used the root nautilus to copy data to a remote location / removable media

But its done now, so it's moot