Re: More than 7 partitions on the SD

2009-03-15 Thread Timo Juhani Lindfors
Nicolas Dufresne writes: > Le samedi 14 mars 2009 à 18:33 +0200, Timo Juhani Lindfors a écrit : >> Why pivot_root? Modern initramfs' use chroot. > > Really ? Which distros uses that ? It's really unclean to my sense, At least debian etch (oldstable) and lenny (stable). > since you stay with two

Re: More than 7 partitions on the SD [entering OT]

2009-03-15 Thread Mike Montour
Pietro "m0nt0" Montorfano wrote: > If you read > that file, there are the specs about mmcblk files, major and minor > number, it's ok, nothing new, but reading that it's explained that scsi > disks devices should be at most 16 devices, am i correct? There are 16 SCSI disk devices available with

Re: More than 7 partitions on the SD [entering OT]

2009-03-15 Thread Pietro "m0nt0" Montorfano
Il giorno dom, 15/03/2009 alle 12.32 +0100, Kees Jongenburger ha scritto: > > This is different in that it uses the SCSI subsystem v.s directly MMC layer. > If you put our 7+ parditioned MMC/SD card in a usb card reader you should see > you can access all the partitions. Ok, i've underst

Re: More than 7 partitions on the SD

2009-03-15 Thread Nicolas Dufresne
Le samedi 14 mars 2009 à 18:33 +0200, Timo Juhani Lindfors a écrit : > Why pivot_root? Modern initramfs' use chroot. Really ? Which distros uses that ? It's really unclean to my sense, since you stay with two partitions mounted while you only need one and You cannot free from ram uses for initram

Re: More than 7 partitions on the SD

2009-03-15 Thread Kees Jongenburger
On Sat, Mar 14, 2009 at 11:33 PM, Pietro m0nt0 Montorfano wrote: > Il giorno sab, 14/03/2009 alle 21.20 +0100, Kees Jongenburger ha > scritto: > > Hello Pietro, > > > [snip] > > This problem was also discussed on the LKML, but with no actual result > > > > http://lkml.org/lkml/2008/4/5/21 > > > >

Re: More than 7 partitions on the SD

2009-03-14 Thread Pietro "m0nt0" Montorfano
Il giorno sab, 14/03/2009 alle 21.20 +0100, Kees Jongenburger ha scritto: > Hello Pietro, > [snip] > This problem was also discussed on the LKML, but with no actual result > > http://lkml.org/lkml/2008/4/5/21 > > Greetings Thanks for the info, i'll watch that topic! Just one question, why i've

Re: More than 7 partitions on the SD

2009-03-14 Thread Kees Jongenburger
Hello Pietro, On Mon, Mar 9, 2009 at 10:10 PM, Pietro m0nt0 Montorfano wrote: > Hi, i've bought a 4GB uSD and i've partitioned it to try and test a lot > of distro, done 10 partitions (1 for kernel and 1 extended for logical > partitions) booted and only 7 partitions shown, no prob, i've read

Re: More than 7 partitions on the SD

2009-03-14 Thread Timo Juhani Lindfors
Stefan Monnier writes: > That's exactly what I suggested. Except you'd probably want to use > pivot_root rather than chroot. Of course, as someone else mentioned you Why pivot_root? Modern initramfs' use chroot. ___ support mailing list support@list

Re: More than 7 partitions on the SD

2009-03-13 Thread Stefan Monnier
>> If all those can use the same kernel, I'd do it as follows: >> - a /boot partition containing the kernel plus a minimal system which >> just allows you to choose which distribution to use. >> - a LVM partition on which you can create all the volumes you want. > LVM could be the solution, your id

Re: More than 7 partitions on the SD

2009-03-12 Thread Petr Vanek
W LVM on a phone :D >LVM could be the solution, your idea is good and here is mine. Due to >uboot i don't think that an initrd could be done, but we can make the >following (tell me if i'm crazy): boot to a single >partition /dev/mmcblk0p1 with a minimal system (kernel with lvm inside, >sbin dir wi

Re: More than 7 partitions on the SD

2009-03-12 Thread Timo Juhani Lindfors
"Pietro \"m0nt0\" Montorfano" writes: > LVM could be the solution, your idea is good and here is mine. Due to > uboot i don't think that an initrd could be done, but we can make the Hmm? I'm sure u-boot supports initrd? > like courses or similar, and then chroot to the choosen partition and > co

Re: More than 7 partitions on the SD

2009-03-12 Thread Pietro "m0nt0" Montorfano
Il giorno mer, 11/03/2009 alle 12.08 -0400, Stefan Monnier ha scritto: > > Hi, i've bought a 4GB uSD and i've partitioned it to try and test a lot > > of distro, done 10 partitions (1 for kernel and 1 extended for logical > > partitions) booted and only 7 partitions shown, no prob, i've read >

Re: More than 7 partitions on the SD

2009-03-11 Thread Stefan Monnier
> Hi, i've bought a 4GB uSD and i've partitioned it to try and test a lot > of distro, done 10 partitions (1 for kernel and 1 extended for logical > partitions) booted and only 7 partitions shown, no prob, i've read If all those can use the same kernel, I'd do it as follows: - a /boot partitio

Re: More than 7 partitions on the SD

2009-03-10 Thread Joachim Ott
2009/3/10 Pietro m0nt0 Montorfano : > Il giorno lun, 09/03/2009 alle 23.48 +0200, Timo Juhani Lindfors ha > scritto: >> "Pietro \"m0nt0\" Montorfano" writes: >> > Sooo, how it's that possible?? Why can't we simply patch the driver >> > which make the mmcblk device to let us create all the devices?

Re: More than 7 partitions on the SD

2009-03-09 Thread Andy Green
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Somebody in the thread at some point said: | Il giorno lun, 09/03/2009 alle 23.48 +0200, Timo Juhani Lindfors ha | scritto: |> "Pietro \"m0nt0\" Montorfano" writes: |>> Sooo, how it's that possible?? Why can't we simply patch the driver |>> which make

Re: More than 7 partitions on the SD

2009-03-09 Thread Pietro "m0nt0" Montorfano
Il giorno lun, 09/03/2009 alle 23.48 +0200, Timo Juhani Lindfors ha scritto: > "Pietro \"m0nt0\" Montorfano" writes: > > Sooo, how it's that possible?? Why can't we simply patch the driver > > which make the mmcblk device to let us create all the devices? > > drivers/mmc/block.c has the limit: >

Re: More than 7 partitions on the SD

2009-03-09 Thread Timo Juhani Lindfors
"Pietro \"m0nt0\" Montorfano" writes: > Sooo, how it's that possible?? Why can't we simply patch the driver > which make the mmcblk device to let us create all the devices? drivers/mmc/block.c has the limit: /* * max 8 partitions per card */ #define MMC_SHIFT 3 #define MMC_NUM_MINORS (2

Re: More than 7 partitions on the SD

2009-03-09 Thread Andy Green
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Somebody in the thread at some point said: | Hi, i've bought a 4GB uSD and i've partitioned it to try and test a lot | of distro, done 10 partitions (1 for kernel and 1 extended for logical | partitions) booted and only 7 partitions shown, no prob

More than 7 partitions on the SD

2009-03-09 Thread Pietro "m0nt0" Montorfano
Hi, i've bought a 4GB uSD and i've partitioned it to try and test a lot of distro, done 10 partitions (1 for kernel and 1 extended for logical partitions) booted and only 7 partitions shown, no prob, i've read the wiki page and a file [1] describing minor and major numbers for devices and reffe