D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Debian install messing with disk partitions

 

On Fri, 07 Dec 2007 12:39:52 +0000, John Horne wrote:
> Hello,
> 
> I have a test PC with an 80GB disk in it. The current partitioning is:
> 
>    primary partition 1: NetBSD (10GB)
>                      2: OpenSUSE (10GB)
>                      3) swap (1GB)
>    extended partition 4) 50GB
>    logical partition 5) [Debian] (10GB)
> 
> I am trying to install Debian 4.0r1 into the logical
> partition /dev/hda5. However, the installer seems to always repartition
> the disk such that the extended partition is the same size as hda5 (i.e.
> 10GB). This then means that I cannot add any further logical partitions.
> 
> I have tried skipping the disk partitioning section by manually
> (re-)partitioning the extended/logical partitions, and formatting hde5.
> However, there seems to be no way around having the installer write the
> changes to the disk, and hence repartition it again.
> 
> Does anyone know a way around this? I already have the disk partitioned,
> I just want to tell the installer to use hda5 (as root), reformat it if
> it wants to, but to leave everything else alone.
> 
> 
> 
> Thanks,
> 
> John.

Try switching to another console (ALT+F2) and using fdisk manually to
create an extended partition in the remaining 50GB and a single logical
partition of 10GB within it.  Then switch back to the installer (ALT+F1)
and tell the partitioner to use manual partitioning scheme, select the
partition you've just created and tell it to use it as /, let it create the
filesystem and then continue the installation.

You might want to start the installer in "expert" mode to give you greater
control over the process.

Cheers.
Grant.


-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html