[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sheflug] A mixed bag of problems



Are you changing the drive with your / partition on it? If so, you need to
do a lot more than copy the /etc/passwd file to get the users back.

I have found that to change the drive/partition for / is easiest if you:

change to /
mount the new drive as /mnt
type: cp -avx /* /mnt

This will copy everything verbatim from the / partition, but no others,
into  /mnt

then, using your SuSE boot disk, boot an existing installation, and when
asked, specify the NEW / partition. When you get in, change /etc/lilo.conf
to point to your new partition, and run lilo.

This will get your system back up on the new drive in about 25 minutes
(thats taken from when I copied 9.5Gb of stuff from one drive to another
about a month since, same procedure)

Best of Luck, and remember --** BACK UP **--


Craig Andrews
craig@fishbot.free-online.co.uk

---------------------------------------
  Brought to you by ...
(¯`·._.·'¯`·-> GNU/LiNUX <-·'¯`·._.·'¯)
---------------------------------------

This signature only works in X, sorry!

On Sun, 4 Jun 2000 simon [at] cliffestones.demon.co.uk wrote:

> All,
> 
> I have a mixed bag of probs little things I'd just like to sort out but
> are beyond me 
> 
> firstly is it possible just to copy /etc/passwd from one machine to
> another?
> I'm changing the HD on a box and I'd love to not have change every
> users passwd in the process. It is shadowed if thats important.
> 
> Theese all affect my system a Suse 6.2 --> 6.4 graded box.
> 
> The problems I haven't managed to iron out are:
> I have an internal modem which works fine but the uart on the serial
> port is never set at boot. changing into runlevel 3 the script appears
> to be run, IE the output echoed to the screen says it has run the
> serial script. but either something else is undoing it's work or it is
> not actually doing the work, no errors are reported but the first thing
> I have to do is su and run the script again to actually set the uart.
> 
> I also get this error in /var/log/warn 
> 
> kernel: hdc: packet command error: status=0x51 { DriveReady SeekComplete Error }
> kernel: hdc: packet command error: error=0x54
> kernel: ATAPI device hdc:
> kernel:   Error: Illegal request -- (Sense key=0x05)
> kernel:   Cannot read medium - incompatible format -- (asc=0x30, ascq=0x02)
> kernel:   The failed "<NULL>" packet command was:
> kernel:   "42 02 40 01 00 00 00 00 10 00 00 00 "
> kernel: hdc: packet command error: status=0x51 { DriveReady SeekComplete Error }
> kernel: hdc: packet command error: error=0x54
> kernel: ATAPI device hdc:
> kernel:   Error: Illegal request -- (Sense key=0x05)
> kernel:   Cannot read medium - incompatible format -- (asc=0x30, ascq=0x02)
> kernel:   The failed "<NULL>" packet command was:
> 
> These ones general ones about sound.
> 
> I have the alsa drivers for my card. Is there anyway way to get more
> than prog to be able to write to the snd card at once. esd mixes all of
> my GNOME bits lovely like but it all goes pear shaped with non esd
> devices. The reason I ask, is why else do I have /dev/dsp0-3 if I can
> only ever use one of them at once? or am I missing something major?
> 
> I'm sure I've missed something.
> 
> Also can I just ask what are .debs like to deal with because after 1
> year on rpms with Red Hat and now Suse I have developed a hatred for
> them. Prety much everything I install now I build from source. I tried
> installing some gtk rpms the other day but found they'd been built
> against glibc 2.2 which was pretty annoying. 
> 
> Any help especially with the passwords greatly appreciated
> 
> Simon. 
> 
> 
> -- 
> Simon Brown Simon [at] cliffestones.demon.co.uk
> DH/DSS Public key 0x93BE39C9
> RSA    Public key 0x9052E271
> 
> 
> ---------------------------------------------------------------------
> Sheffield Linux User's Group - http://www.sheflug.co.uk
> To unsubscribe from this list send mail to
> - <sheflug-request [at] vuw.ac.nz> - with the word 
>  "unsubscribe" in the body of the message. 
> 
>   GNU the choice of a complete generation.
> 
> 
> 

---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word 
 "unsubscribe" in the body of the message. 

  GNU the choice of a complete generation.