Re: A linux alternative to the "ghost" programs?
From: P.T. Breuer (ptb_at_oboe.it.uc3m.es)
Date: 06/30/04
- Next message: P.T. Breuer: "Re: A linux alternative to the "ghost" programs?"
- Previous message: Brian B: "Re: ACDsee"
- In reply to: Cubic: "Re: A linux alternative to the "ghost" programs?"
- Next in thread: WTH: "Re: A linux alternative to the "ghost" programs?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 30 Jun 2004 09:14:35 +0200
Cubic <cubic@fjomp.com> wrote:
> > You can't copy bootrecords just like that! They don't "make sense" out
> > of their context. You'll have to rewrite the bootrecord the way you
> > want it on the new medium. Nobody knows for example if you want the new
> > master boot record to point to the old partition records, or to the new
> > ones. Rerun lilo.
> That was what I was wondering, mostly. If there existed a way of
> preserving the bootrecord of the drive.
You can copy it. It's exactly the first few bytes of the drive. I don't
recall how many. About 150, I think I recall (not the whole of the
first sector, since the partiton table is in the first sector too). 512
bytes would do, if you don't mind maybe rewriting the partition table
too in case you copied that over too.
But the point is that you don't want to copy it! It doesn't make sense
to copy it, since it will be all wrong for the new drive.
> Well, I had the lilo part down, I
> will just have to boot into windows with a partition-magic resque disk or
Why?
> something(Oh, I know I could use knoppix or something, but I'd rather keep
> Bootmgic, I'm a luser, all I can say)
I don't understand - you should be using a generic bootloader like lilo
or grub in the mbr to boot to os-specific bootloaders on other partition
records.
> > What is wrong with using cp?
> Mostly, the fuss comes from me not knowing the full potentional of certain
> commands, like the oh-so holy cp command. I mean, I've read the man page
> at least three times, I still didn't suspect you could do something like
> "cp -a /dev/hda /dev/hdb".
You can't. Or rather, you can, but the effect would be the same as dd
/dev/hda /dev/hdb. I.e. "silly". You don't want to copy one disk to
another! They're not even the same size! And what's the point of
copying all the space between the files as well as the files themselves!
You want to copy FILE SYSTEMS, not DISKS. Don't invent difficulties.
Peter
- Next message: P.T. Breuer: "Re: A linux alternative to the "ghost" programs?"
- Previous message: Brian B: "Re: ACDsee"
- In reply to: Cubic: "Re: A linux alternative to the "ghost" programs?"
- Next in thread: WTH: "Re: A linux alternative to the "ghost" programs?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|