Re: [expert] Moving partitions

2000-10-27 Thread Buchan Milne

You also need to edit the grub/lilo config files to pass the right root
location, if you are moving your root, or be prepared to do it on the
lilo commandline.

Buchan

Charles Curley wrote:
> 
> On Thu, Oct 26, 2000 at 01:10:28PM -0400, Jeff Malka wrote:
> > Not sure I understand.  I can move the partition effortlessly using
> > Partition Magic.  I just needed to know if this would mess up the path
> > structure or something else that linux uses.
> >
> > Is that what cat is about?
> 
> No. Cat will move the data, but won't modify how the partitions are
> mounted. What you need to do is move the data around from partition to
> partition, then edit /etc/fstab to mount the new partition where the old
> one was. That will preserve your paths and other data.
> 
> Also, I'm not sure that cat is appropriate here. It would work copying to
> a new partition of the smae size. I don't think it will work if the new
> partition is smaller, and if the new one is larger, you risk losing the
> difference.
> 
> I'd look into cpio, dd and tar for this.
> 
> >
> > Jeff Malka <[EMAIL PROTECTED]>
> > Registered Linux user  183185
> >
> > - Original Message -
> > From: Rivera, Oscar <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, October 26, 2000 12:33 PM
> > Subject: RE: [expert] Moving partitions
> >
> >
> > > you can use the cat command to move the partition.
> > >
> > > cat /dev/hd? > /dev/hd?
> 
> --
> 
> -- C^2
> 
> No windows were crashed in the making of this email.
> 
> Looking for fine software and/or web pages?
> http://w3.trib.com/~ccurley
> 
>   
> Keep in touch with http://mandrakeforum.com:
> Subscribe the "[EMAIL PROTECTED]" mailing list.

-- 
|--|
Buchan MilneMechanical Engineer, Network Manager
Cellphone   +27824722231
email   mailto:[EMAIL PROTECTED]
Centre for Automotive Engineering   http://www.cae.co.za
South Africas first satellite:http://sunsat.ee.sun.ac.za
Control Models  http://www.control.co.za
|Registered Linux User #182071-|



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



Re: [expert] Moving partitions

2000-10-26 Thread Jeff Malka

Thanks.

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

- Original Message -
From: Ron Stodden <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 26, 2000 6:50 PM
Subject: Re: [expert] Moving partitions


> Larry Marshall wrote:
>
> > Partition Magic will move the data as the partition is moved.  If I
> > understood what he was asking, there'd be no change in fstab.  Most
likely
> > /boot would still be /dev/hda5.  Maybe I didn't understand what he was
> > asking.
>
> If a Linux partition is copied, the copy will not boot.  You must
> bring up another working Linux partition (maybe the source of the
> partition copy) then as root:
>
> mount the copied partition.
>
> chroot  kedit /etc/fstab
>
> Alter the root line to the new device.
>
> Remove any other mention of the new root partition.
>
> Save.
>
> chroot  kedit /etc/lilo.conf
>
> Change all mentions of the old root device to the new root device.
>
> Save.
>
> chroot  /sbin/lilo
>
> Boot down.
>
> Add the new boot device to your boot manager (hopefully xosl).
>
> Boot the new Linux partition.
>
> Yes, that's all!!
>
> If you now want to delete the old Linux partition, remember to
> replace it with a minimum-size ext2 placeholder partition so as not
> to disturb the partition numbering.
>
> --
> Regards,
>
> Ron. [AU]
>
>






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




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



Re: [expert] Moving partitions

2000-10-26 Thread Jeff Malka

Thank you.

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

- Original Message -
From: Nikolay V. Kursov <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 26, 2000 5:38 PM
Subject: Re: [expert] Moving partitions


> > 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?
> >
> > Still learning.
> >
> > Thanks
> >
> > Jeff Malka <[EMAIL PROTECTED]>
> > Registered Linux user  183185
>
> If you want to move root partition you need:
> I. make boot diskette:
>   1. copy kernel to floppy:  cp /boot/vmlinuz /dev/fd0
>   2. set root partition: rdev /dev/hdxx /dev/fd0
> where hdxx - new place of root partition.
> II. move partition
> III. reboot system from diskette
> IV. edit lilo.conf and fstab according to new places of partitions.
> V. run lilo
> VI. reboot system
>
> If you would like use Grub you need edit /boot/grub/menu.lst and run
> /boot/grub/install.sh
>
> --
> Regards,
> Nikolay V. Kursov
> IT,Co. 380(512)500388
> ICQ #57477715
>
>






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




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



Re: [expert] Moving partitions

2000-10-26 Thread Ron Stodden

Larry Marshall wrote:

> Partition Magic will move the data as the partition is moved.  If I
> understood what he was asking, there'd be no change in fstab.  Most likely
> /boot would still be /dev/hda5.  Maybe I didn't understand what he was
> asking.

If a Linux partition is copied, the copy will not boot.  You must
bring up another working Linux partition (maybe the source of the
partition copy) then as root:

mount the copied partition.

chroot  kedit /etc/fstab

Alter the root line to the new device.

Remove any other mention of the new root partition.

Save.

chroot  kedit /etc/lilo.conf

Change all mentions of the old root device to the new root device.

Save.

chroot  /sbin/lilo

Boot down.

Add the new boot device to your boot manager (hopefully xosl).

Boot the new Linux partition.

Yes, that's all!!

If you now want to delete the old Linux partition, remember to
replace it with a minimum-size ext2 placeholder partition so as not
to disturb the partition numbering.

-- 
Regards,

Ron. [AU]



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



Re: [expert] Moving partitions

2000-10-26 Thread Nikolay V. Kursov

> 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?
> 
> Still learning.
> 
> Thanks
> 
> Jeff Malka <[EMAIL PROTECTED]>
> Registered Linux user  183185

If you want to move root partition you need:
I. make boot diskette:
  1. copy kernel to floppy:  cp /boot/vmlinuz /dev/fd0
  2. set root partition: rdev /dev/hdxx /dev/fd0
where hdxx - new place of root partition.
II. move partition 
III. reboot system from diskette
IV. edit lilo.conf and fstab according to new places of partitions. 
V. run lilo
VI. reboot system

If you would like use Grub you need edit /boot/grub/menu.lst and run
/boot/grub/install.sh

-- 
Regards,
Nikolay V. Kursov
IT,Co. 380(512)500388
ICQ #57477715



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



Re: [expert] Moving partitions

2000-10-26 Thread Larry Marshall

> No. Cat will move the data, but won't modify how the partitions are
> mounted. What you need to do is move the data around from partition to
> partition, then edit /etc/fstab to mount the new partition where the old
> one was. That will preserve your paths and other data.

Partition Magic will move the data as the partition is moved.  If I
understood what he was asking, there'd be no change in fstab.  Most likely
/boot would still be /dev/hda5.  Maybe I didn't understand what he was
asking. 

Cheers --- Larry





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



Re: [expert] Moving partitions

2000-10-26 Thread Larry Marshall


> Not sure I understand.  I can move the partition effortlessly using
> Partition Magic.  I just needed to know if this would mess up the path
> structure or something else that linux uses.
> 
> Is that what cat is about?

No Jeff, you wouldn't use cat to move a partition.  It's useful for
streaming a text file and most often used in conjunction with some other
function.  Moving your partition shouldn't cause a problem me
thinks.  This presumes that you won't change the relation between /boot
and a partition device name.  If you've got /home on a separate partition
there's not much to lose by trying it is there?

Cheers --- Larry





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



Re: [expert] Moving partitions

2000-10-26 Thread Charles Curley

On Thu, Oct 26, 2000 at 06:53:53PM +0100, bascule wrote:
> well i'm no expert but since no-one else is saying this, i would guess
> that using pm could mess up your system in that if hdb11 is your
> boot/root partition then moving it could result in it aquiring a new
> number i.e. hdb12 and as far as i know lilo uses the partition info in
> lilo.conf, maybe set up a couple of extra entries in lilo for boot
> partitions that currently don't exist? and then use one of these to boot
> linux after messing with partitions? if you have a seperate /boot
> partition but hdb11 is currently / then i'm not sure what happens, as an
> aside you already appear to have 4 primary partitions, i'm not sure pm
> will let you create another one
> 
> i think cat /dev/hd? /dev/hd?? is a way of copying the raw data from one
> partition to another, so i guess that if you can create a new partition
> that will hold all the data in hdb11 then you could copy all the data
> across and then add the new partition to lilo while keeping your current
> one in case
> 
> of course this is all newbie talk so i expect my fundament to be shot
> down in flames!

Actually, bascule, you reminded me that I didn't talk about lilo at all in
my comments, so thank you.

If he re-arranges his partitions, he will almost certaily have to edit
/etc/lilo.conf and re-run lilo. Details on how to edit it and re-run lilo
using tomsrtbt are in my LJ article on bare metal restore.



> 
> bascule
> 
> Jeff Malka wrote:
> > 
> > Not sure I understand.  I can move the partition effortlessly using
> > Partition Magic.  I just needed to know if this would mess up the path
> > structure or something else that linux uses.
> > 
> > Is that what cat is about?
> > 
> > Jeff Malka <[EMAIL PROTECTED]>
> > Registered Linux user  183185
> > 
> > - Original Message -
> > From: Rivera, Oscar <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, October 26, 2000 12:33 PM
> > Subject: RE: [expert] Moving partitions
> > 
> > > you can use the cat command to move the partition.
> > >
> > > cat /dev/hd? > /dev/hd?
> > 
> >   
> > Keep in touch with http://mandrakeforum.com:
> > Subscribe the "[EMAIL PROTECTED]" mailing list.
> 

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


-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley



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



Re: [expert] Moving partitions

2000-10-26 Thread bascule

well i'm no expert but since no-one else is saying this, i would guess
that using pm could mess up your system in that if hdb11 is your
boot/root partition then moving it could result in it aquiring a new
number i.e. hdb12 and as far as i know lilo uses the partition info in
lilo.conf, maybe set up a couple of extra entries in lilo for boot
partitions that currently don't exist? and then use one of these to boot
linux after messing with partitions? if you have a seperate /boot
partition but hdb11 is currently / then i'm not sure what happens, as an
aside you already appear to have 4 primary partitions, i'm not sure pm
will let you create another one

i think cat /dev/hd? /dev/hd?? is a way of copying the raw data from one
partition to another, so i guess that if you can create a new partition
that will hold all the data in hdb11 then you could copy all the data
across and then add the new partition to lilo while keeping your current
one in case

of course this is all newbie talk so i expect my fundament to be shot
down in flames!

bascule

Jeff Malka wrote:
> 
> Not sure I understand.  I can move the partition effortlessly using
> Partition Magic.  I just needed to know if this would mess up the path
> structure or something else that linux uses.
> 
> Is that what cat is about?
> 
> Jeff Malka <[EMAIL PROTECTED]>
> Registered Linux user  183185
> 
> - Original Message -
> From: Rivera, Oscar <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, October 26, 2000 12:33 PM
> Subject: RE: [expert] Moving partitions
> 
> > you can use the cat command to move the partition.
> >
> > cat /dev/hd? > /dev/hd?
> 
>   
> Keep in touch with http://mandrakeforum.com:
> Subscribe the "[EMAIL PROTECTED]" mailing list.



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



Re: [expert] Moving partitions

2000-10-26 Thread Charles Curley

On Thu, Oct 26, 2000 at 01:10:28PM -0400, Jeff Malka wrote:
> Not sure I understand.  I can move the partition effortlessly using
> Partition Magic.  I just needed to know if this would mess up the path
> structure or something else that linux uses.
> 
> Is that what cat is about?

No. Cat will move the data, but won't modify how the partitions are
mounted. What you need to do is move the data around from partition to
partition, then edit /etc/fstab to mount the new partition where the old
one was. That will preserve your paths and other data.

Also, I'm not sure that cat is appropriate here. It would work copying to
a new partition of the smae size. I don't think it will work if the new
partition is smaller, and if the new one is larger, you risk losing the
difference.

I'd look into cpio, dd and tar for this.

> 
> Jeff Malka <[EMAIL PROTECTED]>
> Registered Linux user  183185
> 
> - Original Message -
> From: Rivera, Oscar <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, October 26, 2000 12:33 PM
> Subject: RE: [expert] Moving partitions
> 
> 
> > you can use the cat command to move the partition.
> >
> > cat /dev/hd? > /dev/hd?


-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley



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



Re: [expert] Moving partitions

2000-10-26 Thread Charles Curley
start over
if you want.

Or you can create partitions, put file systems on them, copy contents
using cpio, dd or tar as needed. I would start by replacing the three
primary partitions with extended ones, and building logical partitions in
them to replace the primaries you lost. But this means that you almost
certainly will have to edit /etc/fstab so things will work correctly when
you get done.

You can't just create a new primary or extended partition, and go from
there. You can have only four partitions in the MBR, /dev/hdx[1-4]. So you
will have to delete at least one primary and use that slot to create an
extended partition. I'd delete hdb2, which is the last partition on the
disk, then create an extended partition which runs from cylinder 833 to
1090, then create logical partitions inside that.

Have I given you enough to get you started?

> 
> 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?
> 

-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley



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



Re: [expert] Moving partitions

2000-10-26 Thread Jeff Malka

Not sure I understand.  I can move the partition effortlessly using
Partition Magic.  I just needed to know if this would mess up the path
structure or something else that linux uses.

Is that what cat is about?

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

- Original Message -
From: Rivera, Oscar <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 26, 2000 12:33 PM
Subject: RE: [expert] Moving partitions


> you can use the cat command to move the partition.
>
> cat /dev/hd? > /dev/hd?





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



RE: [expert] Moving partitions

2000-10-26 Thread Rivera, Oscar

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 BootStart   EndBlocks   Id  System
/dev/hdb1   * 2   721   54432005  Extended
/dev/hdb2   833   951899640   83  Linux
/dev/hdb3   722   745181440   83  Linux
/dev/hdb4   746   832657720   83  Linux
/dev/hdb5 276566968+   6  FAT16
/dev/hdb677   146529168+   6  FAT16
/dev/hdb7   147   187309928+   6  FAT16
/dev/hdb8   188   201105808+   6  FAT16
/dev/hdb9   202   243317488+   6  FAT16
/dev/hdb10  244   354839128+   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 BootStart   EndBlocks   Id  System
/dev/hda1   * 2   1295160966  FAT16
/dev/hda2   157   767   24635525  Extended
/dev/hda3   130   156108864   16  Hidden FAT16
/dev/hda4 1 1  4000+   a  OS/2 Boot Manager
/dev/hda5   *   157   238330592+   6  FAT16
/dev/hda6   *   239   497   1044256+   6  FAT16
/dev/hda7   *   498   701822496+   6  FAT16
/dev/hda8   702   753209632+  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.



Re: [expert] Moving partitions

2000-10-26 Thread Jeff Malka

> 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 BootStart   EndBlocks   Id  System
/dev/hdb1   * 2   721   54432005  Extended
/dev/hdb2   833   951899640   83  Linux
/dev/hdb3   722   745181440   83  Linux
/dev/hdb4   746   832657720   83  Linux
/dev/hdb5 276566968+   6  FAT16
/dev/hdb677   146529168+   6  FAT16
/dev/hdb7   147   187309928+   6  FAT16
/dev/hdb8   188   201105808+   6  FAT16
/dev/hdb9   202   243317488+   6  FAT16
/dev/hdb10  244   354839128+   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 BootStart   EndBlocks   Id  System
/dev/hda1   * 2   1295160966  FAT16
/dev/hda2   157   767   24635525  Extended
/dev/hda3   130   156108864   16  Hidden FAT16
/dev/hda4 1 1  4000+   a  OS/2 Boot Manager
/dev/hda5   *   157   238330592+   6  FAT16
/dev/hda6   *   239   497   1044256+   6  FAT16
/dev/hda7   *   498   701822496+   6  FAT16
/dev/hda8   702   753209632+  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.



Re: [expert] Moving partitions

2000-10-26 Thread Charles Curley

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?

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

Meanwhile, it would probably help if you gave us a more detailed view of
the drive in question. As root:

fdisk -l /dev/hdb




-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley



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