Re: Partitioning a drive with Windows 7 already installed
On Sun, 24 Oct 2010 02:43:06 -0700, consul tores <consultores1@gmail.com>
wrote:
> 2010/10/23 consul tores <consultores1@gmail.com>:
>> 2010/10/23 David Van Mosselbeen <david.van.mosselbeen@telenet.be>:
>>
>>> Hi,
>>> Kinda late to reply on this, but yah...
>>>
>>> My wife own a Compaq laptop with Windows 7 preinstalled. A few days
ago
>>> i
>>> have installed Debian testing (the daily netinst cd) on it. I have
>>> resized
>>> the windows NTFS partition with the debian installer. Just select that
>>> option to manualy manage the partition when you are on the partitions
>>> screen. Then i created the needed linux partitions. Then installed the
>>> base
>>> install and installed all my lovely toys.
>>>
>>> All was ok, just got a little bonus issue, nothing to do with the
>>> partitioning (i think). Grub not showing the windows 7 entry in the
>>> bootloader menu. os-prober was been detecting 3 Windows operating
>>> systems
>>> (1 win7 and 2 of Vista which i don't have). Had need to run
update-grub
>>> to
>>> get this issue fixed. Well, i still have an issue with showing 3
windows
>>> operating systems in the bootloader, but that's another issue :) Maybe
>>> the
>>> black magic of the Compaq recovery utility for Windows. I still need
to
>>> check.
>>>
>>> Anyway, i recommend you make a good backup before doing irreversible
>>> things.
>>>
>>> Bah, i guess your install is already done a few days ago :) But so you
>>> know about this one which i find kinda nice and easy to do.
>>>
>>> Have a nice day all,
>>> David,
>>
>> Hello David
>>
>> Just by curiosity! Have you tested your HD using cfdisk, fdisk or
sfdisk?
>> could you please show the output?
>
> Ooops, i send it privately; David, could you please show the output of
> fdisk and sfdisk?
>
> --
> Consultores Agropecuarios.
> Administracion, Produccion, Capacitacion.
Hi Tores,
It's good that you talk about it. Seems that there's a little issue with
the partitions.
cfdisk complains with: FATAL ERROR: Bad primary partition 2: Partition
ends in the final partial cylinder Press any key to exit cfdisk
And here's output of fdisk:
# fdisk -l /dev/sda
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x1d0caa27
Device Boot Start End Blocks Id System
/dev/sda1 1 26 203776 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2 26 48657 390625000 7 HPFS/NTFS
/dev/sda3 59018 60802 14329856 7 HPFS/NTFS
/dev/sda4 48657 59018 83225601 5 Extended
/dev/sda5 48657 49629 7812096 82 Linux swap /
Solaris
/dev/sda6 * 49629 59018 75412480 83 Linux
Partition table entries are not in disk order
And even sfdisk complains:
# sfdisk -l /dev/sda
Disk /dev/sda: 60801 cylinders, 255 heads, 63 sectors/track
Warning: extended partition does not start at a cylinder boundary.
DOS and Linux will interpret the contents differently.
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/sda1 0+ 25- 26- 203776 7 HPFS/NTFS
/dev/sda2 25+ 48656- 48631- 390625000 7 HPFS/NTFS
/dev/sda3 59017+ 60801- 1784- 14329856 7 HPFS/NTFS
/dev/sda4 48656+ 59017- 10362- 83225601 5 Extended
/dev/sda5 48656+ 49628- 973- 7812096 82 Linux swap / Solaris
/dev/sda6 * 49628+ 59017- 9389- 75412480 83 Linux
I wonder if this issue happen due the installer or the black magic that is
behind that Compaq recovery tool and partition. Or even if that's why
os-prober react so and the need to run update-grub manually. I should
stratch my head. I don't know concequences this could have, nor how to fix
it yet. Need to check.
I can't reproduce it in vmware-server right now. There's and issue to
install it on Squeeze, i need to investigate that also.
Kind regards,
David
Reply to: