Re: [gentoo-user] Copying between hard drives potential newbie question ----- Disk image post

2005-09-12 Thread Michael W. Holdeman
clip

 Can/has anyone used a 12V lead acid car battery as a UPS for their box?
 I've got a spare one in the garage and the thought has crossed my mind .
   .
 --
 Regards,
 Mick
Mick,
It can be done but is slightly more involved than just plugging in teh car 
bat. I have 3 deepcycle batts, set up for my FD base radio and 1 server using 
a 12V inverter and a trickle charger and just running the power through the 
inverter and batt all the time, that way I did not have to set up s a 
switching mechanism that would switch it over. It works well as long as you 
get a good inverter and one that is sized correctly for your power 
requirements.

Mike
-- 
 
Michael W. Holdeman



Powered by Gentoo Linux www.gentoo.org  |
Kernel 2.6.11-ck8   |
Win4Lin 5-1-20 netraverse.com   |
Win4LinPro 6.1.1-03 win4lin.com |
|
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Copying between hard drives potential newbie question ----- Disk image post

2005-09-10 Thread Stuart Howard
In case you missed it 


On 9/7/05, Matthias Bethke [EMAIL PROTECTED] wrote:
 Hi waltdnes,
 on Tuesday, 2005-09-06 at 21:08:20, you wrote:
   Most UPSs below about US$400 are junk.  You'd be served just as well
   with a decent surge suppressor power strip.  Don't waste your money
   on a UPS.
 
Not if all you want is to give your home system 5 minutes to shut down
  in a power failure, or to handle the occasional 30-second outage, of
  which my area seems to have more than its fair share.
 
 Oh yes, it depends very much on the grid in your area.
 I lived in the Philippines for a while where brownouts are a very common
 thing---usually, you get a UPS free there when you buy a computer.
 It's really no fun without one, and for what they have to do the cheap
 lil things work very well. Their lead accus don't usually last more than
 a year, but then you just get a new one for $5 or so and you're set for
 another year. In Germany OTOH, hardly anybody has one, and people still
 get uptimes of over a year.
 
 regards
 Matthias
 --
 I prefer encrypted and signed messages.   KeyID: 90CF8389
 Fingerprint: 8E 1F 10 81 A4 66 29 46  B9 8A B9 E2 09 9F 3B 91
 
 
 


-- 
There are 10 types of people in this world: those who understand
binary, those who don't

--Unknown

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Copying between hard drives potential newbie question

2005-09-07 Thread Matthias Bethke
Hi waltdnes,
on Tuesday, 2005-09-06 at 21:08:20, you wrote:
  Most UPSs below about US$400 are junk.  You'd be served just as well
  with a decent surge suppressor power strip.  Don't waste your money
  on a UPS.
 
   Not if all you want is to give your home system 5 minutes to shut down
 in a power failure, or to handle the occasional 30-second outage, of
 which my area seems to have more than its fair share.

Oh yes, it depends very much on the grid in your area.
I lived in the Philippines for a while where brownouts are a very common
thing---usually, you get a UPS free there when you buy a computer.
It's really no fun without one, and for what they have to do the cheap
lil things work very well. Their lead accus don't usually last more than
a year, but then you just get a new one for $5 or so and you're set for
another year. In Germany OTOH, hardly anybody has one, and people still
get uptimes of over a year.

regards
Matthias
-- 
I prefer encrypted and signed messages.   KeyID: 90CF8389
Fingerprint: 8E 1F 10 81 A4 66 29 46  B9 8A B9 E2 09 9F 3B 91


pgpFKpH2HolBJ.pgp
Description: PGP signature


Re: [gentoo-user] Copying between hard drives potential newbie question

2005-09-06 Thread waltdnes
On Thu, Sep 01, 2005 at 06:31:50PM -0700, Bob Sanders wrote

  1. Beat head on wall for not thinking to buy a UPS.
 
 Most UPSs below about US$400 are junk.  You'd be served just as well
 with a decent surge suppressor power strip.  Don't waste your money
 on a UPS.

  Not if all you want is to give your home system 5 minutes to shut down
in a power failure, or to handle the occasional 30-second outage, of
which my area seems to have more than its fair share.  The saying about
Horses for courses is especially true here.  I don't get business DSL
with a horrendeously expensive SLA for my home ADSL service either.

-- 
Walter Dnes [EMAIL PROTECTED]
My musings on technology and security at http://tech_sec.blog.ca
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Copying between hard drives potential newbie question

2005-09-02 Thread Frank Schafer
On Thu, 2005-09-01 at 18:06 -0500, John Jolet wrote:
 On Thursday 01 September 2005 18:04, Neil Bothwick wrote:
  On Thu, 1 Sep 2005 22:36:59 +0100, Stuart Howard wrote:
   My question :-
  
   I need to copy all from hdb to hda what would be the sugested route?
 
  If both drives are the same size
 
  dd if=/dev/hdb of=/dev/hda bs=4096
 will that get the mbr, or does he still need to do the grub-install step?
 -- 
 John Jolet
 Your On-Demand IT Department
 512-762-0729
 www.jolet.net
 [EMAIL PROTECTED]

It will get everything (making a copy of the physical disk surface). Due
to the fact that your machine didn't boot but data is available, I'd
think your old HDD isn't corrupted but the partition for /boot or the
MBR itself.

Try to setup grub for your old HDD too. Maybe you'll have a HDD more
now. ;)

Just a thought
Frank

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Copying between hard drives potential newbie question

2005-09-02 Thread Harald Arnesen
Holly Bostick [EMAIL PROTECTED] writes:

 Ben Blount schreef:
 MBR is probably damaged, hence why it won't boot. I would run
 grub-install just to be sure.
 
 You could also mount your old disk and the new disk, then use
  cp -R /mnt/olddisk/* /mnt/newdisk/
 (putting in the appriopriate mount locations of course)
 
 Ben Blount
 

 Wouldn't rsync -a be better for this, or would cp -R preserve ownership
 and permissions as well?

cp -a would preserve all file attributes. rsync would probably be
better.
-- 
Hilsen Harald.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Copying between hard drives potential newbie question

2005-09-01 Thread Neil Bothwick
On Thu, 1 Sep 2005 22:36:59 +0100, Stuart Howard wrote:

 My question :-
 
 I need to copy all from hdb to hda what would be the sugested route?

If both drives are the same size

dd if=/dev/hdb of=/dev/hda bs=4096


-- 
Neil Bothwick

I heard Tasha Yar is the Enterprise's expert on Data entry.


pgp8botN08cyb.pgp
Description: PGP signature


Re: [gentoo-user] Copying between hard drives potential newbie question

2005-09-01 Thread John Jolet
On Thursday 01 September 2005 18:04, Neil Bothwick wrote:
 On Thu, 1 Sep 2005 22:36:59 +0100, Stuart Howard wrote:
  My question :-
 
  I need to copy all from hdb to hda what would be the sugested route?

 If both drives are the same size

 dd if=/dev/hdb of=/dev/hda bs=4096
will that get the mbr, or does he still need to do the grub-install step?
-- 
John Jolet
Your On-Demand IT Department
512-762-0729
www.jolet.net
[EMAIL PROTECTED]
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Copying between hard drives potential newbie question

2005-09-01 Thread Ben Blount
MBR is probably damaged, hence why it won't boot. I would run
grub-install just to be sure.

You could also mount your old disk and the new disk, then use
 cp -R /mnt/olddisk/* /mnt/newdisk/
(putting in the appriopriate mount locations of course)

Ben Blount

On 9/1/05, John Jolet [EMAIL PROTECTED] wrote:
 On Thursday 01 September 2005 18:04, Neil Bothwick wrote:
  On Thu, 1 Sep 2005 22:36:59 +0100, Stuart Howard wrote:
   My question :-
  
   I need to copy all from hdb to hda what would be the sugested route?
 
  If both drives are the same size
 
  dd if=/dev/hdb of=/dev/hda bs=4096
 will that get the mbr, or does he still need to do the grub-install step?
 --
 John Jolet
 Your On-Demand IT Department
 512-762-0729
 www.jolet.net
 [EMAIL PROTECTED]
 --
 gentoo-user@gentoo.org mailing list
 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Copying between hard drives potential newbie question

2005-09-01 Thread John Jolet
On Thursday 01 September 2005 18:16, Ben Blount wrote:
 MBR is probably damaged, hence why it won't boot. I would run
 grub-install just to be sure.

 You could also mount your old disk and the new disk, then use
  cp -R /mnt/olddisk/* /mnt/newdisk/
I'd do a cp -pR if I did that, to maintain permissions.  or even use rsync, 
it'll go MUCH quicker.

 (putting in the appriopriate mount locations of course)

 Ben Blount

 On 9/1/05, John Jolet [EMAIL PROTECTED] wrote:
  On Thursday 01 September 2005 18:04, Neil Bothwick wrote:
   On Thu, 1 Sep 2005 22:36:59 +0100, Stuart Howard wrote:
My question :-
   
I need to copy all from hdb to hda what would be the sugested
route?
  
   If both drives are the same size
  
   dd if=/dev/hdb of=/dev/hda bs=4096
 
  will that get the mbr, or does he still need to do the grub-install step?
  --
  John Jolet
  Your On-Demand IT Department
  512-762-0729
  www.jolet.net
  [EMAIL PROTECTED]
  --
  gentoo-user@gentoo.org mailing list

-- 
John Jolet
Your On-Demand IT Department
512-762-0729
www.jolet.net
[EMAIL PROTECTED]
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Copying between hard drives potential newbie question

2005-09-01 Thread Holly Bostick
Ben Blount schreef:
 MBR is probably damaged, hence why it won't boot. I would run
 grub-install just to be sure.
 
 You could also mount your old disk and the new disk, then use
  cp -R /mnt/olddisk/* /mnt/newdisk/
 (putting in the appriopriate mount locations of course)
 
 Ben Blount
 

Wouldn't rsync -a be better for this, or would cp -R preserve ownership
and permissions as well?

Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Copying between hard drives potential newbie question

2005-09-01 Thread Neil Bothwick
On Thu, 1 Sep 2005 18:06:38 -0500, John Jolet wrote:

  dd if=/dev/hdb of=/dev/hda bs=4096
 will that get the mbr, or does he still need to do the grub-install
 step?

It gets *everything*


-- 
Neil Bothwick

OPERATOR ERROR: Nyah, Nyah, Nyah, Nyah, Nyah!


pgpHrLnrcAPld.pgp
Description: PGP signature


Re: [gentoo-user] Copying between hard drives potential newbie question

2005-09-01 Thread Stuart Howard
Hi people 

MANY thanks people for the advice, after some painful time I have got
my system back or at least everything seems fine so far [typing from
opera in X].

As a record for myself and or others who may ever need this I
performed the following steps

1. Beat head on wall for not thinking to buy a UPS.
2. broken  drive would allow access to data but bios fail reported
at attempt to boot
3. installed new drive as master old as slave
4. booted via liveCD
5. Created new partitions and filesystems similar to old 
6. mounted new and old partitions 
7. cp -prf /old /new
8. chroot /mnt/gentoo /bin/bash
9. grub-install /dev/hda
10. reboot
11. cheer

Had a few recommendations for rsync -a and a few concerns that cp
would not cp .files or maintain sufficient permissios etc but I think
that cp -prf has managed to acheive the same.

thanks again 

stu




On 9/1/05, Neil Bothwick [EMAIL PROTECTED] wrote:
 On Thu, 1 Sep 2005 18:06:38 -0500, John Jolet wrote:
 
   dd if=/dev/hdb of=/dev/hda bs=4096
  will that get the mbr, or does he still need to do the grub-install
  step?
 
 It gets *everything*
 
 
 --
 Neil Bothwick
 
 OPERATOR ERROR: Nyah, Nyah, Nyah, Nyah, Nyah!
 
 
 


-- 
There are 10 types of people in this world: those who understand
binary, those who don't

--Unknown

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Copying between hard drives potential newbie question

2005-09-01 Thread Bob Sanders
On Fri, 2 Sep 2005 00:05:48 +
Stuart Howard [EMAIL PROTECTED] wrote:


 As a record for myself and or others who may ever need this I
 performed the following steps
 
 1. Beat head on wall for not thinking to buy a UPS.

Most UPSs below about US$400 are junk.  You'd be served just as well with
a decent surge suppressor power strip.  Don't waste your money on a UPS.

Bob
-  
-- 
gentoo-user@gentoo.org mailing list