DriveSetup with extended partitions I few days ago a patch went into the tree that cleaned up most of the remaining issues with creating primary partitions. So I started working on getting extended partition support in DriveSetup. This has been an interesting task as the extended partition support is not nearly as complete as primary partition support. To make a long story short, I have been able to create an extended partition and logical partitions within. This code is just a hack at the moment and not fit for the public but hopefully in the coming days the code can be cleaned up and the bugs can be fixed and we will have extended partitions! For those of you who are like me and enjoy seeing pictures here is a screen shot.
Ciao,
Bryce
Comments
Re: Extended Partitions with DriveSetup
What a great job!!
Re: Extended Partitions with DriveSetup
Great job! A partitioning tool is really important, and your work is appreciated. Thanks!
Re: Extended Partitions with DriveSetup
WOW!!!
This is the best news I read from here!
Currently I run 6 OSes in my main system and all primary partitions are allocated.
I run BeOS on one of the logical partitions and wait to add Haiku.
Great news!
Re: Extended Partitions with DriveSetup
I run BeOS on one of the logical partitions and wait to add Haiku.
You don't need to wait...Haiku's drivesetup can already initialize partitions.
This new work just allows Haiku's drivesetup to create partitions themselves, but you can use any other partitioning tool to create them and then use drivesetup to initialize them already :)
Re: Extended Partitions with DriveSetup
You don't need to wait...Haiku's drivesetup can already initialize partitions.
This new work just allows Haiku's drivesetup to create partitions themselves, but you can use any other partitioning tool to create them and then use drivesetup to initialize them already :)
Yes, I know this.
My primary system disk (320G) layout is as follows:
1 primary 35G - Solaris
2 primary 35G - Debian/kFreeBSD
3 primary 35G - reserved for ReactOS
4 extended
1 logical 1G - GRUB bootloader + boot stuff
2 logical 35G - Linux
3 logical 35G - MacOS X
4 logical 35G - NetBSD
5 logical 35G - BeOS (will be Haiku)
6 logical 35G - reserved for GNU/Hurd or like
7 logical 35G - installation images
8 logical 4G - Swap
When I try to format BeOS partition an error message appears, however no kernel panic. And after restart my system clock shows year 2062. Unfortunately, I can't mount the partition or install into it Haiku.
Re: Extended Partitions with DriveSetup
When I try to format BeOS partition an error message appears, however no kernel panic. And after restart my system clock shows year 2062. Unfortunately, I can't mount the partition or install into it Haiku.
Yes, I've seen this before too...
In my case, I was able to fix it by using gparted to initialize the BFS partition giving me trouble as FAT32 first, and then boot into Haiku via USB stick and then initialize with Haiku's DriveSetup.
Don't ask me why this worked in my case, but it did :P
- Urias
Re: Extended Partitions with DriveSetup
Yes, I've seen this before too...
In my case, I was able to fix it by using gparted to initialize the BFS partition giving me trouble as FAT32 first, and then boot into Haiku via USB stick and then initialize with Haiku's DriveSetup.
Don't ask me why this worked in my case, but it did :P
- Urias
1. From Linux create partition of type 0xEB - OK
2. Boot Haiku from USB stick - OK
3. Open DriveSetup - OK
4. Select partition & initialize it - error message, partition can't be mounted
Reboot, repair clock, repeat steps 1-3,
4'. Open terminal and write: mkbfs device, where device carefuly copied from DriveSetup - error message, partition can't be mounted
It works under BeOS on the same partition, however, Haiku fails to mount / write to a partition formatted under BeOS.
Assume this Haiku limitation is related to large disks (320G) or large partitons (35G) or deep logical partition layout (5-th of 8) or something else.
An interesting fact. I couldn't install Debian GNU/kFreeBSD along with NetBSD. I couldn't install BeOS on a logical partition. I believed it was related to the way FreeBSD and NetBSD handles disklabel. The true problem was Windows XP on 3-rd primary partition. When I removed it, both *BSD and BeOS live and collaborate together.
Re: Extended Partitions with DriveSetup
It finally works with r31756 (DriveSetup - no mkfs)!!!
I wrote the previous message from Linux and this one from fresh Haiku - the 7-th OS on my computer!
Great job, Haiku!