All times are UTC-06:00




Post new topic  Reply to topic  [ 12 posts ] 
Author Message
PostPosted: Tue Oct 02, 2007 5:56 pm 
Offline

Joined: Tue May 29, 2007 4:31 pm
Posts: 36
After running out of primary partitions, I made partition 1 of my Efika hard drive into an extended partition which now holds (?) 3 logical partitions and some unallocated space. All these logical partitions are mountable from within linux. However, SmartFirmware sees things differently -

ok ls hd
DOS partition 0: extended (0x5)
DOS partition 0: linux (0x83)
DOS partition 1: extended (0x5)
DOS partition 0: linux (0x83)
DOS partition 1: extended (0x5)
DOS partition 1: linux (0x83)
DOS partition 2: linux (0x83)
DOS partition 3: linux-swap (0x82)
ok _

Notice the third logical partition isn't listed. What's more, in order to view the directory structure of the 2nd logical partition, I have to enter:

ls hd:0,1,0

Whereas to view the 1st logical partition, I only have to enter:

ls hd:0,0

What are the numbers after hd:0, describing? And why can't SF access all of my logical partitions?


Top
   
PostPosted: Thu Oct 04, 2007 1:32 am 
Offline
Site Admin

Joined: Fri Sep 24, 2004 1:39 am
Posts: 1589
Location: Austin, TX
Quote:
After running out of primary partitions, I made partition 1 of my Efika hard drive into an extended partition which now holds (?) 3 logical partitions and some unallocated space. All these logical partitions are mountable from within linux. However, SmartFirmware sees things differently -

ok ls hd
DOS partition 0: extended (0x5)
DOS partition 0: linux (0x83)
DOS partition 1: extended (0x5)
DOS partition 0: linux (0x83)
DOS partition 1: extended (0x5)
DOS partition 1: linux (0x83)
DOS partition 2: linux (0x83)
DOS partition 3: linux-swap (0x82)
ok _

Notice the third logical partition isn't listed. What's more, in order to view the directory structure of the 2nd logical partition, I have to enter:

ls hd:0,1,0

Whereas to view the 1st logical partition, I only have to enter:

ls hd:0,0

What are the numbers after hd:0, describing? And why can't SF access all of my logical partitions?
Because handling extended/logical partitions is a bit broken.

_________________
Matt Sealey


Top
   
 Post subject:
PostPosted: Fri Nov 23, 2007 4:29 pm 
Offline

Joined: Mon Nov 19, 2007 5:22 pm
Posts: 12
i have also a lot partitions (8). the first ist primary and with ext2... but when i try "ls hd:0" i see nothing, also when i try "ls hd" so atm i put the kernel on a usb stick, but this is not the final solution... the hardisk was runing in a x86 pc with same partitons well... any ideas?


Top
   
 Post subject:
PostPosted: Fri Nov 23, 2007 4:33 pm 
Offline
Site Admin

Joined: Fri Sep 24, 2004 1:39 am
Posts: 1589
Location: Austin, TX
Quote:
i have also a lot partitions (8). the first ist primary and with ext2... but when i try "ls hd:0" i see nothing, also when i try "ls hd" so atm i put the kernel on a usb stick, but this is not the final solution... the hardisk was runing in a x86 pc with same partitons well... any ideas?
Wait until we fix it, unfortunately.

_________________
Matt Sealey


Top
   
 Post subject:
PostPosted: Sat Jan 05, 2008 10:18 am 
Offline

Joined: Tue Oct 10, 2006 2:52 pm
Posts: 25
Location: Rostov-on-Don
I have on my hdd - 1 primary and 1 extended partitions. Extended partition still more some partitions. All partitions formated with ext3fs.

I type - ls hd
DOS partition 0: linux (0x83)
DOS partition 1: extended (0x5)

When I type - ls hd:0 - I see contents of primary partition.

Now I type - ls hd:1 - I see nothing.
Very strange.

As a result I cannot load OpenSuse 10.3 which is on the one of partition in extended, I put loader to my usb flash and boot from it - works good.
Any comments?


Top
   
 Post subject:
PostPosted: Sun Jan 06, 2008 7:28 am 
Offline
Site Admin

Joined: Fri Sep 24, 2004 1:39 am
Posts: 1589
Location: Austin, TX
Quote:
As a result I cannot load OpenSuse 10.3 which is on the one of partition in extended, I put loader to my usb flash and boot from it - works good.
Any comments?
The firmware doesn't handle extended partitions properly, so.. this is expected.

Simply don't use extended partitions. Do you really need more than 4 partitions on a disk?

_________________
Matt Sealey


Top
   
 Post subject:
PostPosted: Mon Mar 31, 2008 7:02 am 
Offline

Joined: Mon Nov 19, 2007 5:22 pm
Posts: 12
I would like to use more than 4 partitons...


Top
   
 Post subject:
PostPosted: Mon Mar 31, 2008 7:11 am 
Offline

Joined: Wed Oct 13, 2004 7:26 am
Posts: 348
Quote:
I would like to use more than 4 partitons...
use lvm, a much better approach.


Top
   
 Post subject:
PostPosted: Mon Mar 31, 2008 10:02 am 
Offline
Site Admin

Joined: Fri Sep 24, 2004 1:39 am
Posts: 1589
Location: Austin, TX
Quote:
I would like to use more than 4 partitons...
Why not use Amiga partition tables, then? Is there some big reason to use PC MBR?

_________________
Matt Sealey


Top
   
 Post subject:
PostPosted: Mon Mar 31, 2008 3:46 pm 
Offline

Joined: Wed Oct 13, 2004 7:26 am
Posts: 348
Quote:
Quote:
I would like to use more than 4 partitons...
Why not use Amiga partition tables, then? Is there some big reason to use PC MBR?
the best reason i can think of is that it's easier that way to prepare the disk on a x86 pc.


Top
   
 Post subject:
PostPosted: Tue Apr 01, 2008 8:18 am 
Offline
Site Admin

Joined: Fri Sep 24, 2004 1:39 am
Posts: 1589
Location: Austin, TX
Quote:
Quote:
Quote:
I would like to use more than 4 partitons...
Why not use Amiga partition tables, then? Is there some big reason to use PC MBR?
the best reason i can think of is that it's easier that way to prepare the disk on a x86 pc.
That's a good point but it seems everyone in this thread has no trouble partitioning using a Linux installer, they just can't boot from the resultant partitions if they're 'logical' rather than 'primary'.

What would be great is if we could support more partitioning formats like GPT (from the EFI standard as used on high end Itanium, AMD64 and Intel Apple boxes) - of course this is a nod to the other firmware standards, but it's far more commonly used than Amiga partitioning, and just as flexible (up to 128 partitions, backup partition table, checksums for partition data, supporting partition names, marking partitions with their supported filesystem or purpose, plus basing around LBA rather than weirdo CHS block numbering), while staying compatible with MBR partitioning.

_________________
Matt Sealey


Top
   
 Post subject:
PostPosted: Wed Apr 02, 2008 6:05 am 
Offline

Joined: Mon Jan 30, 2006 7:24 am
Posts: 43
Location: Budapest, Hungary
Quote:
the best reason i can think of is that it's easier that way to prepare the disk on a x86 pc.
Parted (and libparted) supports all kind of partition tables independently from the architecture it runs on, AFAIK. So, if you do the partitioning from the command line, it doesn't really matter. You can do it on a Linux/x86 just like you'd do it from your Linux/PPC. It's true though that most GUI installers/partitioners not really support RDB. Sometimes not even on PowerPC. But if this is not a problem, everyone with bPlan hardware should do himself a favour, and use RDB. :)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 12 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
PowerDeveloper.org: Copyright © 2004-2012, Genesi USA, Inc. The Power Architecture and Power.org wordmarks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org.
All other names and trademarks used are property of their respective owners. Privacy Policy
Powered by phpBB® Forum Software © phpBB Group