Bob broke ubuntu

C M Reinehr cmr at amsent.com
Tue Oct 7 13:37:28 PDT 2008


Bob (or Boob, as the case may be ;-),

On Tue 07 October 2008 10:45, Lonni J Friedman wrote:
> On Tue, Oct 7, 2008 at 8:41 AM, Live session user <ol.bob at charter.net> 
wrote:
> > On Mon, 2008-10-06 at 21:24 -0500, David A. Bandel wrote:
> >> On Mon, Oct 6, 2008 at 11:43 AM, C M Reinehr <cmr at amsent.com> wrote:
> >> > On Sun 05 October 2008 09:37, David A. Bandel wrote:
> >
> > My question has nothing to do with David's question except it caused me
> > to have tgis problem.   have two drives /dev/sda1 & /dev/sda2.  2 is a
> > 142 gig drive with an upgraded/updated Ubuntu 8.10 on it.  The other
> > drive has a SuSE 10.1 on it.  Or they did.  After reading all the
> > comments about David's problem I thought, "Why don't I upgrade my SuSE
> > drive/partition"?  So, I booted the SuSE DVD and discovered that there
> > was a problem with the passwd file.

	What passwd file? On the DVD, /dev/sda1, /dev/sda2, ...?

> > Apparently I some how blew away?? 
> > my Ubuntu installation, although the last screen said no damage had been
> > done to any of the other installations.  Oh, 15 gigs on sda1 is an XP
> > installation to use my blood glucose meter.  I'm typing this using the
> > Ubunti 8.04 disk.  Can any of you folks give me some idea how to get at
> > my Ubuntu partition?  I've tried sudo cd /dev/sda6 (where it was
> > before), /dev/hda6.

WRT 'sudo cd /dev/sda6, /dev/hda6', I really don't know what you mean here. 
Can you boot your Suse installation? Or, if not, boot from a live CD/DVD & 
try mounting /dev/sda2:

	# mount -text3 -oro /dev/sda2 /mnt
then,
	# cd /mnt

> If you no longer have /etc/passwd, then you're pretty badly hosed at
> this point, and need to restore from backups.  I'd be surprised if
> /etc/passwd is the only thing gone.

I concur. If upgrading your Suse installation (/dev/sda1) corrupted /dev/sda2, 
I feel that it did more than just erasing your /etc/passwd file. On the 
other-hand, it seems to me that if it did anything it would have completely 
overwritten /dev/sda2 (repartitioned, reformated, etc.).

> Also /dev/hda6 doesn't necessarily equal /dev/sda6.

cmr
-- 
Debian 'Etch' - Registered Linux User #241964
--------
"More laws, less justice." -- Marcus Tullius Ciceroca, 42 BC



More information about the Linux-users mailing list