* [gentoo-user] Disk partition query
@ 2007-04-30 10:01 Stuart Howard
2007-04-30 10:09 ` Hemmann, Volker Armin
` (3 more replies)
0 siblings, 4 replies; 7+ messages in thread
From: Stuart Howard @ 2007-04-30 10:01 UTC (permalink / raw
To: gentoo-user
I have made an annoying error when setting up my new computer.
I installed Gentoo then winXP and made it dual boot, all of which has
gone fine however when I did this I partitioned my disk as shown the
theory being that I would assign space as required after all
installation. Unfortunatly I made the 4 partitions all primary! and
now I cannot make more partitions to consume the extra space.
Can I for example delete the swap and then create an extended
partition within the free space and finally create logical partitions
as required?
Can swap be assigned to an extended/logical partition?
I am being a little over cautious in asking this on list before I try
but after 3 days of compiling I am not in the mood to lose it all to
an avoidable mistake :)
Thanks
stu
Disk /dev/sda: 163.9 GB, 163928604672 bytes
255 heads, 63 sectors/track, 19929 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 13 104391 83 Linux
/dev/sda2 14 78 522112+ 82 Linux swap / Solaris
/dev/sda3 79 2628 20482875 83 Linux
/dev/sda4 * 2629 6275 29294527+ 7 HPFS/NTFS
--
"There are 10 types of people in this world: those who understand
binary, those who don't"
--Unknown
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Disk partition query
2007-04-30 10:01 [gentoo-user] Disk partition query Stuart Howard
@ 2007-04-30 10:09 ` Hemmann, Volker Armin
[not found] ` <200705010335.51038.nbensa@gmx.net>
2007-04-30 10:10 ` Joe Menola
` (2 subsequent siblings)
3 siblings, 1 reply; 7+ messages in thread
From: Hemmann, Volker Armin @ 2007-04-30 10:09 UTC (permalink / raw
To: gentoo-user
On Montag, 30. April 2007, Stuart Howard wrote:
> I have made an annoying error when setting up my new computer.
> I installed Gentoo then winXP and made it dual boot, all of which has
> gone fine however when I did this I partitioned my disk as shown the
> theory being that I would assign space as required after all
> installation. Unfortunatly I made the 4 partitions all primary! and
> now I cannot make more partitions to consume the extra space.
>
> Can I for example delete the swap and then create an extended
> partition within the free space and finally create logical partitions
> as required?
yes.
>
> Can swap be assigned to an extended/logical partition?
yes, but you don't need a swap partition. A swapfile will work as fine as a
swap partition.
>
> I am being a little over cautious in asking this on list before I try
> but after 3 days of compiling I am not in the mood to lose it all to
> an avoidable mistake :)
you can always remove the windows partition ;)
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Disk partition query
2007-04-30 10:01 [gentoo-user] Disk partition query Stuart Howard
2007-04-30 10:09 ` Hemmann, Volker Armin
@ 2007-04-30 10:10 ` Joe Menola
[not found] ` <200704301229.49246.alan@linuxholdings.co.za>
[not found] ` <200705011335.31597.nbensa@gmx.net>
3 siblings, 0 replies; 7+ messages in thread
From: Joe Menola @ 2007-04-30 10:10 UTC (permalink / raw
To: gentoo-user
On Monday 30 April 2007 5:01:41 am Stuart Howard wrote:
> Can I for example delete the swap and then create an extended
> partition within the free space and finally create logical partitions
> as required?
>
> Can swap be assigned to an extended/logical partition?
Yes and yes...as an added bonus you can do this within your running system
#swapoff -a
(modify partitions and fstab)
#swapon -a
-jm
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Disk partition query
[not found] ` <200704301229.49246.alan@linuxholdings.co.za>
@ 2007-04-30 22:51 ` Stuart Howard
2007-05-01 8:59 ` Florian Philipp
0 siblings, 1 reply; 7+ messages in thread
From: Stuart Howard @ 2007-04-30 22:51 UTC (permalink / raw
To: gentoo-user
I went brave and tried Alans method, I wanted a tidy disk :)
Not to worry but for me [dont know my error ] it did not work and
killed my XP install, so reverted back to method A essentially and
reinstalled wingaming XP so all is fine now.
I shall consider it a lesson to remember to save! up on primary
partitions next time. Thanks all for trying.
stu
On 30/04/07, Alan McKinnon <alan@linuxholdings.co.za> wrote:
> On Monday 30 April 2007, Stuart Howard wrote:
> > I have made an annoying error when setting up my new computer.
> > I installed Gentoo then winXP and made it dual boot, all of which has
> > gone fine however when I did this I partitioned my disk as shown the
> > theory being that I would assign space as required after all
> > installation. Unfortunatly I made the 4 partitions all primary! and
> > now I cannot make more partitions to consume the extra space.
>
> Easy. Use fdisk, and write down the start and end cylinders of the 4th
> partition.
>
> Then delete it.
>
> Yes, delete it. No, I'm not tricking you.
>
> Now create an extended partition using all available cylinders, and
> create a logical partition with the same start and end cylinders as the
> original one you deleted.
>
> Save, quit, reboot
>
> alan
>
>
> --
> Optimists say the glass is half full,
> Pessimists say the glass is half empty,
> Developers say wtf is the glass twice as big as it needs to be?
>
> Alan McKinnon
> alan at linuxholdings dot co dot za
> +27 82, double three seven, one nine three five
> --
> gentoo-user@gentoo.org mailing list
>
>
--
"There are 10 types of people in this world: those who understand
binary, those who don't"
--Unknown
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Disk partition query
2007-04-30 22:51 ` Stuart Howard
@ 2007-05-01 8:59 ` Florian Philipp
0 siblings, 0 replies; 7+ messages in thread
From: Florian Philipp @ 2007-05-01 8:59 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 985 bytes --]
Stuart Howard:
> I went brave and tried Alans method, I wanted a tidy disk :)
>
> Not to worry but for me [dont know my error ] it did not work and
> killed my XP install, so reverted back to method A essentially and
> reinstalled wingaming XP so all is fine now.
> I shall consider it a lesson to remember to save! up on primary
> partitions next time. Thanks all for trying.
>
Just for the future:
When changing the partition table of a disk that includes Windows the most
common problem ist that the NT bootloader (ntldr) doesn't find Windows any
longer (usually it tells you that it can't find hal.dll).
At this moment Windows is not brocken! You just have to edit your boot.ini.
Play around with it. Since ntldr can't see your Linux partitions properly the
logical setting might not be the correct one.
My advice: Keep these files on a floppy so you can change them easily without
writing to ntfs:
ntldr
boot.ini
ntdetect.com
maybe others in c:\
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Disk partition query
[not found] ` <200705010335.51038.nbensa@gmx.net>
@ 2007-05-01 13:08 ` Hemmann, Volker Armin
0 siblings, 0 replies; 7+ messages in thread
From: Hemmann, Volker Armin @ 2007-05-01 13:08 UTC (permalink / raw
To: gentoo-user
On Dienstag, 1. Mai 2007, Norberto Bensa wrote:
> Hemmann, Volker Armin wrote:
> > On Montag, 30. April 2007, Stuart Howard wrote:
> > > Can swap be assigned to an extended/logical partition?
> >
> > yes, but you don't need a swap partition. A swapfile will work as fine as
> > a swap partition.
>
> True, but you're adding a layer (or more if you're using lvm) to the VM
> subsystem. The whole point of the swap partition is to simplify access to
> swapped pages and therefore make it very fast.
that does not explain, why a good swapfile is not slower than a partition ;)
>
> Moreover, a swap partion is easily reusable between other Linuxes on the
> same box and although you can also reuse a swapfile, you'll need to mount
> the partition first.
so what is the difference between mounting a partition and mounting a
partition?
>
> > you can always remove the windows partition ;)
>
> Windows can *sometimes* save your life :)
>
hm, so far it only removed many years of my potential lifespan.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Disk partition query
[not found] ` <200705011923.59177.volker.armin.hemmann@tu-clausthal.de>
@ 2007-05-02 2:25 ` Norberto Bensa
0 siblings, 0 replies; 7+ messages in thread
From: Norberto Bensa @ 2007-05-02 2:25 UTC (permalink / raw
To: gentoo-user
Hemmann, Volker Armin wrote:
> On Dienstag, 1. Mai 2007, Norberto Bensa wrote:
> >
> > Yup. And a swapfile needs mounting and activating.
>
> and? What is the problem? The partition has to be mounted anyway, and
> activating a swapfile or swap partition takes the same amount of time.
okay...
regards,
norberto
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2007-05-02 2:30 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-30 10:01 [gentoo-user] Disk partition query Stuart Howard
2007-04-30 10:09 ` Hemmann, Volker Armin
[not found] ` <200705010335.51038.nbensa@gmx.net>
2007-05-01 13:08 ` Hemmann, Volker Armin
2007-04-30 10:10 ` Joe Menola
[not found] ` <200704301229.49246.alan@linuxholdings.co.za>
2007-04-30 22:51 ` Stuart Howard
2007-05-01 8:59 ` Florian Philipp
[not found] ` <200705011335.31597.nbensa@gmx.net>
[not found] ` <200705011923.59177.volker.armin.hemmann@tu-clausthal.de>
2007-05-02 2:25 ` Norberto Bensa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox