[cAos-devel] Cinch partition_scan (was Re: System Imager)

Martyn martyn at theendofhistether.org.uk
Wed Feb 28 23:05:38 GMT 2007


Greg Kurtzer wrote:
> Michael probably didn't get what you were saying because it seems,  
> uhm,... rather wacked out. Well, I guess now we know who would do  
> such a thing. ;)
>   
Heh, yeah, not gonna chuck stones over here!
> Extended partitions shouldn't show up here, so this is expected  
> output. partitions_display will contain a list of all partitions that  
> can be formatted and mounted/installed to.
>   
Not quite true....
If you follow prompts and opt for a 4 partition install, you get (on 
ide) hda[1-3] and hda5...  That irritates me 'cos I'm happy having 
hda[1-4].  So, I delete partition 5, delete the extended partition, 
create partition 4 as primary, type linux native, and cinch won't see it 
unless I dd it out.
I think dd if=/dev/{hs}d[a-z][1-9] of=/dev/null bs=1 count=1 should work 
as a better test than fdisk -l
> Now, why a NTFS partition wouldn't error out on a fdisk -l is wacky.  
> Being that I can't test on any systems directly, I am open for  
> suggestions.
>
>   
For the same reason as above I think, fdisk will read the backup 
partition table that's at block 0 of the fs, and therefore no error.
> Well, that definitely fixes the *Windows* being installed issue,  
> don't it? hehe
>   
lol yeah
> As I mentioned, I am open to suggestions. :)
>   
dd!!!
> Thanks,
> Greg

--
Joran (Martyn)


More information about the cAos-devel mailing list