Subject: Re: random partition/mount question
From: Ed Jaeger (firstname.lastname@example.org)
Date: Wed Apr 19 2000 - 23:17:11 MDT
pdisk is for powerpc machines. fdisk is for intel machines. fdisk is
included but you shouldn't use it unless you want to partition a disk
with an x86-style partition table. Such a disk could not be used to
boot a powerpc machine, but otherwise would probably work - you might
have to recompile the kernel, since the default setup only looks for
pdisk-style partition tables iirc.
Phil Kirschner wrote:
> Hey, thanks a lot. But quickly, can you tell me the difference between
> fdisk and pdisk? When I use pdisk to display the partitions on my working
> drive, it shows them just fine. If I use fdisk on the same drive, it says
> that the drive does not contain a valid partition table.
> Why is that?
> A typical class at Washington University: show up, get rid of your homework,
> get new homework, leave.
> > From: Ed Jaeger <email@example.com>
> > Reply-To: firstname.lastname@example.org
> > Date: Wed, 19 Apr 2000 21:39:57 -0700
> > To: email@example.com
> > Subject: Re: random partition/mount question
> > Yes. After you install the new drive & reboot create a temporary mount
> > point for it (mkdir /mnt/home-new). Partition & format the new drive
> > with fdisk & mke2fs, then mount it on /mnt/home-new. Then copy your
> > existing /home over - I use cpio to preserve permisions, modification
> > times, etc:
> > cd /home
> > find . -depth -print | cpio -pdmuv /mnt/new-home
> > When you're done change /etc/fstab to reflect your new drive and then
> > rename /home to /home-old (otherwise mounting the new drive at /home
> > will make the existing files unreachable). Then restart.
> > Phil Kirschner wrote:
> >> Newbie-like question about partitioning/mounting for the list:
> >> If I install linux onto a drive, not giving /home it's own partition, how
> >> hard would it be to change where /home is mounted from if I bought another
> >> drive and wanted to put my /home files on there and have it be mounted to
> >> /home instead of the existing files which would need to be moved over to the
> >> new drive?
> >> Was that long winded enough? Basically, can I get a new drive, mount it, cp
> >> the /home directory files to it, and then set that drive to mount as /home
> >> in /etc/fstab?
> >> Any help would be amazing.
> >> -Phil
> >> --
> >> "Today's CS lecture will be conducted entirely through the medium of
> >> interpretive dance."
> >> -Something I've always wanted to hear but never will.
> > --
> > ---
> > Ed Jaeger
> > "A man is not old until regrets take the place of dreams."
> > -- John Barrymore
-- --- Ed Jaeger
"A man is not old until regrets take the place of dreams."
-- John Barrymore
This archive was generated by hypermail 2a24 : Sun Apr 23 2000 - 22:14:40 MDT