LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy
User Name
Password
Puppy This forum is for the discussion of Puppy Linux.

Notices

Reply
 
Search this Thread
Old 04-27-2011, 04:33 AM   #1
eugen
LQ Newbie
 
Registered: Apr 2011
Posts: 2

Rep: Reputation: 0
Does anyone know if my puppy supports more than 15 partitions?


Does anyone know if my puppy supports more than 15 partitions?

Last edited by eugen; 04-30-2011 at 03:42 AM. Reason: solved
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 04-27-2011, 09:10 AM   #2
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 307Reputation: 307Reputation: 307Reputation: 307
I don't think that the problem is distribution specific, but rather a limitation of BIOS.

Although, theoretically you could have an unlimited number of partitions within an extended partition, as you have found out, this limit is finite.
 
1 members found this post helpful.
Old 05-22-2011, 07:38 PM   #3
Karl Godt
Member
 
Registered: Mar 2010
Location: Kiel , Germany
Distribution: once:SuSE6.2,Debian3.1, aurox9.2+3,Mandrake?,DSL? then:W7st,WVHB, #!8.10.02,PUPPY4.3.1 now:Macpup
Posts: 308

Rep: Reputation: 45
Quote:
Originally Posted by andrewthomas View Post
I don't think that the problem is distribution specific, but rather a limitation of BIOS.

Although, theoretically you could have an unlimited number of partitions within an extended partition, as you have found out, this limit is finite.
The puppy kernel is configured :
/etc/modules/DOTconfig-k2.6.33.2-27MAY2010-LUPU-SMP-TICKLESS:
# CONFIG_DEVTMPFS is not set

which is a feature to let the kernel maintain the files @/dev directory .

Puppy has got a ""static"" /dev directory and the /dev/sda[0-9]* go from 1 to 15 .

You can do 2 things :

1 .: delete all /dev/sd[b-i][0-9]* files you don't need and create a /dev/sda16 with
Code:
mknod /dev/sda16 b 8 16
16 is the minor number .
You can get the needed info by
Code:
ls -l --color=never /dev/sda*
Because /dev/sdb has got 8 16 it has to be deleted for double minors don't work .

2 .: use the blkext 259 minors , which are actually configurable @kernel make menuconfig compiletime under -> kernel hacking .
Code:
cat /proc/devices
shows possible majors for block devices .
I have 12 partitions and 4 1GB swap on a 500GB IDE-HD and so I create a 16th device node for it :
Code:
ls -l /dev/sda16
ls: cannot access /dev/sda16: No such file or directory
mknod /dev/sda16 b 259 0
ls -l /dev/sda16
brw-r--r-- 1 root root 259, 0 2011-05-23 02:16 /dev/sda16
free
              total         used         free       shared      buffers
  Mem:       450132       389516        60616            0        36908
 Swap:      3100392            0      3100392
Total:      3550524       389516      3161008
swapon /dev/sda16
free
              total         used         free       shared      buffers
  Mem:       450132       389956        60176            0        36932
 Swap:      4152608            0      4152608
Total:      4602740       389956      4212784
The CONFIG_DEBUG_BLOCK_EXT_DEVT=y would create devices like "/dev/sda8 259 65334" and "/dev/sda9 259 1902345" without the continuing stepping as in ""legacy major 8 mode"" .

Last edited by Karl Godt; 05-22-2011 at 07:48 PM.
 
2 members found this post helpful.
Old 06-28-2011, 04:51 PM   #4
Karl Godt
Member
 
Registered: Mar 2010
Location: Kiel , Germany
Distribution: once:SuSE6.2,Debian3.1, aurox9.2+3,Mandrake?,DSL? then:W7st,WVHB, #!8.10.02,PUPPY4.3.1 now:Macpup
Posts: 308

Rep: Reputation: 45
I want to add , that I had put
Code:
echo -n "Updating Device nodes " >/dev/console
STATUS=0
CATPROCPART=`cat /proc/partitions | sed 's#^\ *[[:alpha:]].*##g' | sed '/^$/d'` 
echo "$CATPROCPART" | while read MAJ MIN SIZE SDEV ; do
[ -b "$1"/dev/$SDEV ] && rm "$1"/dev/$SDEV
STATUS=$(( $STATUS + $? ))
mknod "$1"/dev/$SDEV b $MAJ $MIN
STATUS=$(( $STATUS + $? ))
echo -n '.' >/dev/console
done
if [ ! -d /initrd -o "`busybox df | grep 'initrd'`" = "" ] ; then
status_func $STATUS
fi
into the Puppy /etc/rc.d/rc.sysinit and/or /sbin/init .
So all devices and partitions the kernel autodetects at boot , will be (re-)created .
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Now I've gone and done it....Puppy partitions. Beener Linux - Newbie 5 09-13-2009 08:45 PM
Unable to install Puppy on HD (Puppy universal installer) Marcos.K Puppy 2 04-05-2009 02:54 PM
LXer: Review: Puppy Linux 2.16 -- our Puppy's growing up LXer Syndicated Linux News 0 08-20-2007 11:40 PM


All times are GMT -5. The time now is 10:52 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration