you can use the cat command to move the partition.

cat /dev/hd? > /dev/hd?

Oscar

-----Original Message-----
From: Jeff Malka [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 26, 2000 8:58 AM
To: expert mandrake
Cc: Charles Curley
Subject: Re: [expert] Moving partitions


> This may be a silly question, but why do you want to move it? "If it
> works, don't fix it."

As a "learning experience" (this is not yet my main pc)
and because I have had a few problems that could be related to it:

1) grub will not work on it.  lilo does.
2) every so often, after I logout to the main graphic login screen (Mandrake
7.1) I lose the mouse which restores itself if I restart x.
3) I was told originally not to do it this way

> Meanwhile, it would probably help if you gave us a more detailed view of
> the drive in question. As root:
>
> fdisk -l /dev/hdb
>>>>>>>>>>>>>>>>>>>>>>>>>>>
Disk /dev/hdb: 240 heads, 63 sectors, 1090 cylinders
Units = cylinders of 15120 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hdb1   *         2       721   5443200    5  Extended
/dev/hdb2           833       951    899640   83  Linux
/dev/hdb3           722       745    181440   83  Linux
/dev/hdb4           746       832    657720   83  Linux
/dev/hdb5             2        76    566968+   6  FAT16
/dev/hdb6            77       146    529168+   6  FAT16
/dev/hdb7           147       187    309928+   6  FAT16
/dev/hdb8           188       201    105808+   6  FAT16
/dev/hdb9           202       243    317488+   6  FAT16
/dev/hdb10          244       354    839128+   6  FAT16
/dev/hdb11          456       721   2010928+  83  Linux

Partition table entries are not in disk order
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Disk /dev/hda: 128 heads, 63 sectors, 767 cylinders
Units = cylinders of 8064 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         2       129    516096    6  FAT16
/dev/hda2           157       767   2463552    5  Extended
/dev/hda3           130       156    108864   16  Hidden FAT16
/dev/hda4             1         1      4000+   a  OS/2 Boot Manager
/dev/hda5   *       157       238    330592+   6  FAT16
/dev/hda6   *       239       497   1044256+   6  FAT16
/dev/hda7   *       498       701    822496+   6  FAT16
/dev/hda8           702       753    209632+  82  Linux swap

Partition table entries are not in disk order
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Hope this helps.

Jeff Malka <[EMAIL PROTECTED]>
Registered Linux user  183185

----- Original Message -----
From: Charles Curley <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 26, 2000 11:00 AM
Subject: Re: [expert] Moving partitions


> On Thu, Oct 26, 2000 at 10:16:15AM -0400, Jeff Malka wrote:
> > When I first installed linux, for reasons I no longer remember I
installed
> > Mandrake 7.1 as follows on my 8 GB second HD:
> >
> > I have a windows extended partition of 5.3 GB.  Within and at the end of
> > this extended partition (don't ask why) I have a 5.3 GB linuxExt2 main
linux
> > partition (hdb11).  Beyond this extended partition I have my /usr, swap,
> > /opt, /home partitions (hdb2, hdb3, hdb4).
> >
> > I own a full copy of Partition Magic which I used during the install.  I
> > would like to move the main linux partition "out" of the windows
extended
> > partition into free space beyond it..  If I moved it using Partition
Magic,
> > from within NT, will I still be able to boot into linux and will the
> > partition move mess up things in linux?





Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.

Reply via email to