Booting - Enterprise Volume Management System
Alexander Skwar
listen at alexander.skwar.name
Mon Aug 14 20:05:46 UTC 2006
ยท Thiers Botelho <thiersb at gmail.com>:
> Hi Alex.
>
> Quoting / snipping is getting even trickier . . .
;)
> On 8/14/06, Alexander Skwar <listen at alexander.skwar.name> wrote:
>> > On 8/12/06, Alexander Skwar <listen at alexander.skwar.name> wrote:
>> >> > On 8/11/06, Alexander Skwar <listen at alexander.skwar.name> wrote:
>> > One problem I see with making the PV a primary partition would be,
>> > since all primary partitions come _before_ the logical partitions,
>>
>> No, they don't. At least not in terms of cylinders:
>>
>> Disk /dev/hda: 40.0 GB, 40007762432 bytes
>> 255 heads, 63 sectors/track, 4864 cylinders
>> Units = cylinders of 16065 * 512 = 8225280 bytes
>>
>> Device Boot Start End Blocks Id System
>> /dev/hda1 2001 2062 498015 83 Linux
>> /dev/hda3 1 2000 16064968+ 5 Extended
>> /dev/hda5 1 123 987934+ 83 Linux
>>
>> Partition table entries are not in disk order
>>
>>
>> There's no requirement stating how those partitions are ordered. Those
>> partitions could be accessed with no problems.
>>
>
> Now that's v-e-r-y interesting. So one possible partition order
> (cylinder-wise) might be as follows (hipothetical sizes & cyl
> numbers):
>
> 1 4000 hda1 primary NTFS - WinXP C: drive
> 4001 45000 hda4 extended
> 4001 6000 hda5 logical NTFS - WinXP D: drive for pagefile.sys
> 6001 6500 hda6 logical ext2 - /boot_ubuntu
> 6501 7000 hda7 logical ext2 - /boot_fedora
> 7001 22000 hda8 logical ext3 or ntfs or vfat - data storage & exchange
> 22001 41000 empty chunk for copying / moving / adding / resizing partitions
> 41001 43000 hda10 logical swap - /swap_ubuntu
> 43001 45000 hda11 logical swap - /swap_fedora
> 45001 150000 hda2 physical - Linuxen PV for LVM use
> 150000 - end-of-disk
>
> I'd keep /swap(s) as logical partitions to remain at the conservative
> side regarding suspend / suspend2 . In practice, if what is said on
> suspend2's site works for real, I could have only one single smaller
> swap partition, shared for both Linuxen,
Well, you could, yes - but if you use suspend-to-disk with Linux,
you'll probably suspend to swap. Ubuntu would thus suspend to
hda10. Now you start FC5, which also uses hda10. Because of this,
you'll lose your suspended Ubuntu. And because of this, I'd
actually keep two seperate swap partitions.
Other than that, your partitioning scheme looks good, as far as
I can tell.
> plus 2 RAM-sized dedicated
> files under LVM - each one for suspending each system.
What do you mean with this? Do you plan on doing suspend-to-disk
and store that in a file?
With suspend2, this would be possible. With swsusp, that's
not possible - it can ONLY suspend to a swap partition. Suspend2
can suspend to a file and also to a file (which could also
be a network block device file, which could mean, that suspend
would be possible to a remote system - "everything is a file"
rocks *G*).
Have a nice evening,
Alexander Skwar
--
Wir liefen beim Zweikampf nebeneinander her, und da habe ich ihn wohl
leicht retouchiert.
-- Olaf Thon
More information about the ubuntu-users
mailing list