how to mount sda16,sda17 ?

Booting, installing, newbie
Post Reply
Message
Author
eps
Posts: 34
Joined: Sun 04 Jul 2010, 02:40

how to mount sda16,sda17 ?

#1 Post by eps »

more 15 partition on a single hdd

Bruce B

#2 Post by Bruce B »

I've ran into this before, and fixed it with success

Code: Select all

brw-r----- 1 root root 8, 10 2011-03-25 20:09 sda10
brw-r----- 1 root root 8, 11 2011-03-25 20:09 sda11
brw-r----- 1 root root 8, 12 2011-03-25 20:09 sda12
brw-r----- 1 root root 8, 13 2011-03-25 20:09 sda13
brw-r----- 1 root root 8, 14 2011-03-25 20:09 sda14
brw-r----- 1 root root 8, 15 2011-03-25 20:09 sda15
Use mknod to add more special files in /dev

mknod --help to see how

Use chmod to set the attributes to match the others in the same major
category.

Bruce B

#3 Post by Bruce B »

Here is howto. Commands in blue for you to actually type

cd /dev
ls -l sda*
(gives this output)

If output doesn't match major then you have to change for yourself,
but I image it will match

Code: Select all

brw-r----- 1 root root 8,  0 2011-03-25 20:09 sda
brw-r----- 1 root root 8,  1 2011-03-25 20:09 sda1
brw-r----- 1 root root 8, 10 2011-03-25 20:09 sda10
brw-r----- 1 root root 8, 11 2011-03-25 20:09 sda11
brw-r----- 1 root root 8, 12 2011-03-25 20:09 sda12
brw-r----- 1 root root 8, 13 2011-03-25 20:09 sda13
brw-r----- 1 root root 8, 14 2011-03-25 20:09 sda14
brw-r----- 1 root root 8, 15 2011-03-25 20:09 sda15
brw-r----- 1 root root 8,  2 2011-03-25 20:09 sda2
brw-r----- 1 root root 8,  3 2011-03-25 20:09 sda3
brw-r----- 1 root root 8,  4 2011-03-25 20:09 sda4
brw-r----- 1 root root 8,  5 2011-03-25 20:09 sda5
brw-r----- 1 root root 8,  6 2011-03-25 20:09 sda6
brw-r----- 1 root root 8,  7 2011-03-25 20:09 sda7
brw-r----- 1 root root 8,  8 2011-03-25 20:09 sda8
brw-r----- 1 root root 8,  9 2011-03-25 20:09 sda9
mknod sda16 b 8 16
ls -l sda16
(gives this output, shows our new file)

Code: Select all

brw-r--r-- 1 root root 8, 16 2011-04-17 00:32 sda16
note attributes (at left) are not same

chmod --reference=sda15 sda16
ls -l sda* shows new special file and attributes match

Code: Select all

brw-r----- 1 root root 8,  0 2011-03-25 20:09 sda
brw-r----- 1 root root 8,  1 2011-03-25 20:09 sda1
brw-r----- 1 root root 8, 10 2011-03-25 20:09 sda10
brw-r----- 1 root root 8, 11 2011-03-25 20:09 sda11
brw-r----- 1 root root 8, 12 2011-03-25 20:09 sda12
brw-r----- 1 root root 8, 13 2011-03-25 20:09 sda13
brw-r----- 1 root root 8, 14 2011-03-25 20:09 sda14
brw-r----- 1 root root 8, 15 2011-03-25 20:09 sda15
brw-r----- 1 root root 8, 16 2011-04-17 00:32 sda16
brw-r----- 1 root root 8,  2 2011-03-25 20:09 sda2
brw-r----- 1 root root 8,  3 2011-03-25 20:09 sda3
brw-r----- 1 root root 8,  4 2011-03-25 20:09 sda4
brw-r----- 1 root root 8,  5 2011-03-25 20:09 sda5
brw-r----- 1 root root 8,  6 2011-03-25 20:09 sda6
brw-r----- 1 root root 8,  7 2011-03-25 20:09 sda7
brw-r----- 1 root root 8,  8 2011-03-25 20:09 sda8
brw-r----- 1 root root 8,  9 2011-03-25 20:09 sda9
To add more devices, repeat and increment by 1

Notice the pattern

There is block type which is b - shown at first column
Major which is 8
Minor which is shown at far right and corresponds with the file name

mknod sda16 b 8 16
mknod sda17 b 8 17
mknod sda18 b 8 18

eps
Posts: 34
Joined: Sun 04 Jul 2010, 02:40

how to mount sda16,sda17

#4 Post by eps »

We have complete installation (full)
- snow-puppy sda11 016
gnome-sda15 pclos 2010.12
minimum-sda16 pclos 2010.12
Sda16 partition can not see the puppy
If you delete sda15 have everything in place but the content is the name sda15 di sda16
can now see and exploit sda15
I did this once!
normal?
I used Partition Wizard Home Edition from Hiren's cd ver 13.2
When you boot live CD 5.2 pmagic pclos or see and can operate all partitions including sda16
Using 214xtop7 linecd sda16 see displayed on the screen.

eps
Posts: 34
Joined: Sun 04 Jul 2010, 02:40

max.partition

#5 Post by eps »


eps
Posts: 34
Joined: Sun 04 Jul 2010, 02:40

how to mount sda16,sda17?

#6 Post by eps »

sh-4.1# probepart
/dev/sda1|vfat|20482812
/dev/sda2|none|2
/dev/sda5|ntfs|204812622
/dev/sda6|ntfs|204812622
/dev/sda7|ext3|20482812
/dev/sda8|ext3|20482812
/dev/sda9|swap|30732282
/dev/sda10|ext3|20482812
/dev/sda11|ext2|20482812
/dev/sda12|ext2|20482812
/dev/sda13|ext2|20482812
/dev/sda14|ext2|20466746
/dev/sda15|ext2|10233342
/dev/sda16|none|16002
/dev/sda17|none|16002
/dev/sda18|none|32467302
/dev/sr0|iso9660|824032
sh-4.1# cd /dev
sh-4.1# ls -l sda*
brw-r--r-- 1 root root 8, 0 2011-04-28 09:42 sda
brw-rw---- 1 root root 8, 1 2011-04-29 11:57 sda1
brw-rw---- 1 root root 8, 10 2011-04-28 09:42 sda10
brw-r----- 1 root 6 8, 11 1995-04-29 13:33 sda11
brw-rw---- 1 root root 8, 12 2011-04-29 11:57 sda12
brw-rw---- 1 root root 8, 13 2011-04-28 09:42 sda13
brw-rw---- 1 root root 8, 14 2011-04-29 11:57 sda14
brw-rw---- 1 root root 8, 15 2011-04-29 11:57 sda15
brw-rw---- 1 root root 259, 0 2011-04-29 11:57 sda16
brw-rw---- 1 root root 8, 17 2011-04-30 07:46 sda17
brw-rw---- 1 root root 8, 18 2011-04-30 07:54 sda18
brw-rw---- 1 root root 8, 2 2011-04-29 11:57 sda2
brw-r--r-- 1 root root 8, 3 2001-02-13 22:43 sda3
brw-r--r-- 1 root root 8, 4 2001-02-13 22:43 sda4
brw-rw---- 1 root root 8, 5 2011-04-29 11:57 sda5
brw-rw---- 1 root root 8, 6 2011-04-30 07:50 sda6
brw-rw---- 1 root root 8, 7 2011-04-29 11:57 sda7
brw-rw---- 1 root root 8, 8 2011-04-28 09:42 sda8
brw-r----- 1 root 6 8, 9 1995-04-29 13:33 sda9
sh-4.1# chmod --reference=sda15 sda16
sh-4.1# ls -l sda16
brw-rw---- 1 root root 259, 0 2011-04-29 11:57 sda16
sh-4.1# chmod --reference=sda15 sda17
sh-4.1# ls -l sda17
brw-rw---- 1 root root 8, 17 2011-04-30 07:46 sda17
sh-4.1# chmod --reference=sda15 sda18
sh-4.1# ls -l sda18
brw-rw---- 1 root root 8, 18 2011-04-30 07:54 sda18
sh-4.1#
sh-4.1# fdisk -l

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 1275 10241406 c W95 FAT32 (LBA)
/dev/sda2 1276 40907 318344040 f W95 Ext'd (LBA)
/dev/sda5 1276 14024 102406311 7 HPFS/NTFS
/dev/sda6 14025 26773 102406311 7 HPFS/NTFS
/dev/sda7 26774 28048 10241406 83 Linux
/dev/sda8 28049 29323 10241406 83 Linux
/dev/sda9 29324 31236 15366141 82 Linux swap / Solaris
/dev/sda10 31237 32511 10241406 83 Linux
/dev/sda11 32512 33786 10241406 83 Linux
/dev/sda12 33787 35061 10241406 83 Linux
/dev/sda13 35062 36336 10241406 83 Linux
/dev/sda14 36338 37611 10233373+ 83 Linux
/dev/sda15 37613 38249 5116671 83 Linux
/dev/sda16 38251 38251 8001 83 Linux
/dev/sda17 38253 38253 8001 83 Linux
/dev/sda18 38887 40907 16233651 83 Linux
sh-4.1#

eps
Posts: 34
Joined: Sun 04 Jul 2010, 02:40

how to mount sda16,sda17

#7 Post by eps »

"Disks can have up to 15 partitions. See also /usr/src/linux/Documentation/devices.txt. "

http://linux.about.com/od/commands/l/blcmdl8_fdisk.htm

User avatar
myke
Posts: 102
Joined: Tue 15 Mar 2011, 16:20
Location: Québec

devices.txt

#8 Post by myke »

eps, it seems devices.txt is a theoretical part of Linux. Using Pfind, couldn't find it in the Puppy I looked at.

In practice, my friends and I appear to be limited to four primary partitions in the partition table. Including one for a swap file, that leaves me with two fully installed Linux distros (an Ubuntu derivative, Pinguy, and another rpm-, Arch- or Gentoo-based one that changes from time to time) and one partition for Puppy as install Puppy Linuxes frugally in sub-directories (currently have six: Snowpuppy, Ice-Puppy, spup, lupu, fatdog64, Fluppy).

My friend's situation is worse. Not a Puppy lover, he has to reserve two partitions for windows and one for a swap file. He has xpud installed right now inside windows. But for bigger Linuxes, he is limited to only one primary partition to explore Linux that changes from time to time. Right now it is tails-i386 (otherwise know as Incognito Live System) so he can browse anonymously.

So both of us are far from fifteen. I heard at one time that you could take at least one of the four primary partitions and split it into extended partitions but neither one of us could figure out how to do it from gparted or even parted.

So, what tool could you use to create and manipulate extended rather than primary partitions? Hopefully for me, it is not CLI-based. I don't mind CLI in general but not when a false move could destroy a hard disk.

And I don't really want to have pen drives sticking out all over the place.

myke
AA1 D255E-keucr slacko 5.3;luci;mijnpup; tw-os; with:Emacs,gawk,noteboxmismanager,treesheets, freeplane, libreoffice, tkoutline, Sigil, calibre, calendar. magic&Noteliner(wine), kamas (DOS)

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#9 Post by rcrsn51 »

myke wrote: I heard at one time that you could take at least one of the four primary partitions and split it into extended partitions but neither one of us could figure out how to do it from gparted or even parted.
Using Gparted, delete one of your primary partitions. Create a new extended partition - Gparted gives you a choice of primary or extended. Inside it, create one or more logical partitions.

But there's a catch. Many (all?) BIOS's cannot boot directly off a logical partition. So you need to think about how you want your boot loader to work.

A better strategy for you might be as follows - two Windows partitions, one primary Linux partition and an extended partition that contains a logical swap partition.

User avatar
rjbrewer
Posts: 4405
Joined: Tue 22 Jan 2008, 21:41
Location: merriam, kansas

#10 Post by rjbrewer »

Myke;

Using gparted.
You can have 4 primaries.
Make number 4 extended, the same way you make any other
partition.
Extended contains all the remaining unused space.
New "logical", (ext2, ext3, etc.) are made the same as the earlier
partitions.

Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Eeepc 8g 701, 900Mhz, 1Gb ram.
Full installs

eps
Posts: 34
Joined: Sun 04 Jul 2010, 02:40

how to mount sda16,sda17

#11 Post by eps »

And I felt the need to refer me to tell them sda16 and sda17
logical disks and partitions not
I repeat but were created by partition home edition from Hiren's livecd

eps
Posts: 34
Joined: Sun 04 Jul 2010, 02:40

how to mount sda16,sda17

#12 Post by eps »

Do not know why I did not thought that this map of partitions be the first to be given information
While I would have won and I had less trouble!
Attachments
part-disk.PNG
(21.96 KiB) Downloaded 417 times

eps
Posts: 34
Joined: Sun 04 Jul 2010, 02:40

how to mount sda16,sda17

#13 Post by eps »

Using logical disks tinycore 3.6 sda16 see it as their content and sda17

Post Reply