Re: define more partitions in freebsd
thanks Carl, i tried your your manual step by steps on FreeBSD8.2 but error happened. this is what i've done: gpart create -s MBR ad3 ad3 created gpart add -t freebsd ad3 ad3s1 added gpart create -s BSD -n 20 ad3s1 gpart: geom 'ad3s1': File Exists if i do not run the second command and run the third one, it says invalid argument. i don't know what should i do:( any comments or hints are really appreciated. On Sun, Jun 2, 2013 at 11:31 PM, Carl Johnson ca...@peak.org wrote: s m sam.gh1...@gmail.com writes: thanks guys, i understand another solution is GPT partitioning. but i prefer to have more partitions in traditional freebsd (with MBR table i think). using GPT is the last solution for me. i should create more than 8 partitions with gpart command (flag n which identifies entries) but i have errors when using it. is there any special option which should be included in kernel in order to use gpart with flag n? any one test it before? thanks in advance, I just tried it on a FreeBSD 8.3 system without any problems. You will need to explain what kind of errors you had before anybody can help you. I used a zfs volume for testing as follows: gpart create -s MBR /dev/zvol/zpool/v/gtest gpart add -t freebsd /dev/zvol/zpool/v/gtest gpart create -s BSD -n 20 zvol/zpool/v/gtests1 gpart add -t freebsd-ufs -s 1G zvol/zpool/v/gtests1 gpart add -t freebsd-swap -s 2G zvol/zpool/v/gtests1 # add several more freebsd-ufs # output from 'gpart show zvol/zpool/v/gtests1' = 0 41942943 zvol/zpool/v/gtests1 BSD (20G) 0 2097152 1 freebsd-ufs (1.0G) 2097152 4194304 2 freebsd-swap (2.0G) 6291456 2097152 4 freebsd-ufs (1.0G) 8388608 2097152 5 freebsd-ufs (1.0G) 10485760 2097152 6 freebsd-ufs (1.0G) 12582912 2097152 7 freebsd-ufs (1.0G) 14680064 2097152 8 freebsd-ufs (1.0G) 16777216 2097152 9 freebsd-ufs (1.0G) 18874368 209715210 freebsd-ufs (1.0G) 20971520 209715211 freebsd-ufs (1.0G) 23068672 209715212 freebsd-ufs (1.0G) 25165824 209715213 freebsd-ufs (1.0G) 27262976 209715214 freebsd-ufs (1.0G) 29360128 209715215 freebsd-ufs (1.0G) 31457280 209715216 freebsd-ufs (1.0G) 33554432 209715217 freebsd-ufs (1.0G) 35651584 209715218 freebsd-ufs (1.0G) 37748736 209715219 freebsd-ufs (1.0G) 39845888 209705520 freebsd-ufs (1G) # output from 'disklabel zvol/zpool/v/gtests1' # /dev/zvol/zpool/v/gtests1: 20 partitions: # size offsetfstype [fsize bsize bps/cpg] a:2097152 04.2BSD0 0 0 b:41943042097152 swap c: 41942943 0unused0 0 # raw part, don't edit d:209715262914564.2BSD0 0 0 e:209715283886084.2BSD0 0 0 f:2097152 104857604.2BSD0 0 0 g:2097152 125829124.2BSD0 0 0 h:2097152 146800644.2BSD0 0 0 i:2097152 167772164.2BSD0 0 0 j:2097152 188743684.2BSD0 0 0 k:2097152 209715204.2BSD0 0 0 l:2097152 230686724.2BSD0 0 0 m:2097152 251658244.2BSD0 0 0 n:2097152 272629764.2BSD0 0 0 o:2097152 293601284.2BSD0 0 0 p:2097152 314572804.2BSD0 0 0 q:2097152 335544324.2BSD0 0 0 r:2097152 356515844.2BSD0 0 0 s:2097152 377487364.2BSD0 0 0 t:2097055 398458884.2BSD0 0 0 I also tried newfs on all the ufs partitions without problems. I just tried this on a FreeBSD 8.2 system and it works there as well. -- Carl Johnsonca...@peak.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- *Sa.M* ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: define more partitions in freebsd
On Mon, 3 Jun 2013, saeedeh motlagh wrote: thanks Carl, i tried your your manual step by steps on FreeBSD8.2 but error happened. this is what i've done: gpart create -s MBR ad3 ad3 created gpart add -t freebsd ad3 ad3s1 added gpart create -s BSD -n 20 ad3s1 gpart: geom 'ad3s1': File Exists if i do not run the second command and run the third one, it says invalid argument. i don't know what should i do:( any comments or hints are really appreciated. [please stop top-posting, it makes replies more difficult] The slice entry is still present on the disk, and must be removed and recreated: gpart delete -i1 ad3 gpart add -t freebsd ad3 Again, GPT is a better solution unless you have a Thinkpad with a broken BIOS. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: define more partitions in freebsd
On 2013-06-01 08:40, s m wrote: hello all i want to install freebsd8.2 on my system. for some reasons, i need partitions more than 6. my freebsd just allow me to define partitions from a to h, not any more. i checked FreeBSD handbook, but it doesn't say anything about defining more partitions. my question is: how can i define more partitions on my freebsd? (for example, ad3s1a, ..., ad3s1h, ad3s1i, ad3s1j, ...). any comments or hints are appreciated. SAM Put another disk in your machine. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: define more partitions in freebsd
thanks guys, i understand another solution is GPT partitioning. but i prefer to have more partitions in traditional freebsd (with MBR table i think). using GPT is the last solution for me. i should create more than 8 partitions with gpart command (flag n which identifies entries) but i have errors when using it. is there any special option which should be included in kernel in order to use gpart with flag n? any one test it before? thanks in advance, SAM On Sat, Jun 1, 2013 at 8:23 PM, Carl Johnson ca...@peak.org wrote: s m sam.gh1...@gmail.com writes: hello all i want to install freebsd8.2 on my system. for some reasons, i need partitions more than 6. my freebsd just allow me to define partitions from a to h, not any more. i checked FreeBSD handbook, but it doesn't say anything about defining more partitions. my question is: how can i define more partitions on my freebsd? (for example, ad3s1a, ..., ad3s1h, ad3s1i, ad3s1j, ...). any comments or hints are appreciated. SAM Others have already commented that GPT labels are better, but I think that you can have more than 8 partitions. I remember a posting a while back that the maximum had been increased. You will have to experiment if you want to do this, but gpart shows an example that uses 20 partitions: '/sbin/gpart create -s BSD -n 20 ada0s1'. I also don't know that bsdlabel will handle these, so you definitely should experiment first. -- Carl Johnsonca...@peak.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: define more partitions in freebsd
On Sun, 2 Jun 2013 11:35:58 +0430 s m wrote: thanks guys, i understand another solution is GPT partitioning. but i prefer to have more partitions in traditional freebsd (with MBR table i think). using GPT is the last solution for me. i should create more than 8 partitions with gpart command (flag n which identifies entries) but i have errors when using it. is there any special option which should be included in kernel in order to use gpart with flag n? any one test it before? IIRC it's possible to label traditional BSD partitions recursively allowing an unlimited number e.g. if you relabel ad0S1f you can have ad0S1fa, ad0S1fb etc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: define more partitions in freebsd
thanks RW, do you have any suggestions how i can do that? with gpart command? On Sun, Jun 2, 2013 at 3:51 PM, RW rwmailli...@googlemail.com wrote: On Sun, 2 Jun 2013 11:35:58 +0430 s m wrote: thanks guys, i understand another solution is GPT partitioning. but i prefer to have more partitions in traditional freebsd (with MBR table i think). using GPT is the last solution for me. i should create more than 8 partitions with gpart command (flag n which identifies entries) but i have errors when using it. is there any special option which should be included in kernel in order to use gpart with flag n? any one test it before? IIRC it's possible to label traditional BSD partitions recursively allowing an unlimited number e.g. if you relabel ad0S1f you can have ad0S1fa, ad0S1fb etc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- *Sa.M* ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: define more partitions in freebsd
s m sam.gh1...@gmail.com writes: thanks guys, i understand another solution is GPT partitioning. but i prefer to have more partitions in traditional freebsd (with MBR table i think). using GPT is the last solution for me. i should create more than 8 partitions with gpart command (flag n which identifies entries) but i have errors when using it. is there any special option which should be included in kernel in order to use gpart with flag n? any one test it before? thanks in advance, I just tried it on a FreeBSD 8.3 system without any problems. You will need to explain what kind of errors you had before anybody can help you. I used a zfs volume for testing as follows: gpart create -s MBR /dev/zvol/zpool/v/gtest gpart add -t freebsd /dev/zvol/zpool/v/gtest gpart create -s BSD -n 20 zvol/zpool/v/gtests1 gpart add -t freebsd-ufs -s 1G zvol/zpool/v/gtests1 gpart add -t freebsd-swap -s 2G zvol/zpool/v/gtests1 # add several more freebsd-ufs # output from 'gpart show zvol/zpool/v/gtests1' = 0 41942943 zvol/zpool/v/gtests1 BSD (20G) 0 2097152 1 freebsd-ufs (1.0G) 2097152 4194304 2 freebsd-swap (2.0G) 6291456 2097152 4 freebsd-ufs (1.0G) 8388608 2097152 5 freebsd-ufs (1.0G) 10485760 2097152 6 freebsd-ufs (1.0G) 12582912 2097152 7 freebsd-ufs (1.0G) 14680064 2097152 8 freebsd-ufs (1.0G) 16777216 2097152 9 freebsd-ufs (1.0G) 18874368 209715210 freebsd-ufs (1.0G) 20971520 209715211 freebsd-ufs (1.0G) 23068672 209715212 freebsd-ufs (1.0G) 25165824 209715213 freebsd-ufs (1.0G) 27262976 209715214 freebsd-ufs (1.0G) 29360128 209715215 freebsd-ufs (1.0G) 31457280 209715216 freebsd-ufs (1.0G) 33554432 209715217 freebsd-ufs (1.0G) 35651584 209715218 freebsd-ufs (1.0G) 37748736 209715219 freebsd-ufs (1.0G) 39845888 209705520 freebsd-ufs (1G) # output from 'disklabel zvol/zpool/v/gtests1' # /dev/zvol/zpool/v/gtests1: 20 partitions: # size offsetfstype [fsize bsize bps/cpg] a:2097152 04.2BSD0 0 0 b:41943042097152 swap c: 41942943 0unused0 0 # raw part, don't edit d:209715262914564.2BSD0 0 0 e:209715283886084.2BSD0 0 0 f:2097152 104857604.2BSD0 0 0 g:2097152 125829124.2BSD0 0 0 h:2097152 146800644.2BSD0 0 0 i:2097152 167772164.2BSD0 0 0 j:2097152 188743684.2BSD0 0 0 k:2097152 209715204.2BSD0 0 0 l:2097152 230686724.2BSD0 0 0 m:2097152 251658244.2BSD0 0 0 n:2097152 272629764.2BSD0 0 0 o:2097152 293601284.2BSD0 0 0 p:2097152 314572804.2BSD0 0 0 q:2097152 335544324.2BSD0 0 0 r:2097152 356515844.2BSD0 0 0 s:2097152 377487364.2BSD0 0 0 t:2097055 398458884.2BSD0 0 0 I also tried newfs on all the ufs partitions without problems. I just tried this on a FreeBSD 8.2 system and it works there as well. -- Carl Johnsonca...@peak.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
define more partitions in freebsd
hello all i want to install freebsd8.2 on my system. for some reasons, i need partitions more than 6. my freebsd just allow me to define partitions from a to h, not any more. i checked FreeBSD handbook, but it doesn't say anything about defining more partitions. my question is: how can i define more partitions on my freebsd? (for example, ad3s1a, ..., ad3s1h, ad3s1i, ad3s1j, ...). any comments or hints are appreciated. SAM ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: define more partitions in freebsd
On Sat, 1 Jun 2013 11:10:32 +0430, s m wrote: hello all i want to install freebsd8.2 on my system. for some reasons, i need partitions more than 6. my freebsd just allow me to define partitions from a to h, not any more. That's correct and expected for the MBR partitioning approach (which is considered mostly outdated today). i checked FreeBSD handbook, but it doesn't say anything about defining more partitions. Because you _cannot_ define more partitions than up to 'h'. This is a hard-defined limit of MBR-style partitions (as they are initialized with bsdlabel). my question is: how can i define more partitions on my freebsd? (for example, ad3s1a, ..., ad3s1h, ad3s1i, ad3s1j, ...). You cannot. You need to use the GPT partitioning approach and repartition your disk. With gpart, you can create more than 'h' partitions, but the partitions will have different names, such as ad3s1p1, ad3s1p2, ..., ad3s1p10, ad3s1p11, ... and so on. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: define more partitions in freebsd
thanks for your reply, it is a good news if i can define more partitions with gpart. names are not so important for me. if i can define more partitions with gpart, are these partitions work correctly? you know i wan to define a journal partition for each partition on my freebsd. so if i use these extra partition as journal provider, do they work correctly? and another question, how can i define more partitions with gpart? i searched and some people say to use gpart -n 20. do you mean to use this command too? and my last question, some people say to change byte 0x28a of the disk from 0x08 to 0x14 (which 14 is the number of partitions). do you think it's a good idea and applicable solution? thanks for your attention On 6/1/13, Polytropon free...@edvax.de wrote: On Sat, 1 Jun 2013 11:10:32 +0430, s m wrote: hello all i want to install freebsd8.2 on my system. for some reasons, i need partitions more than 6. my freebsd just allow me to define partitions from a to h, not any more. That's correct and expected for the MBR partitioning approach (which is considered mostly outdated today). i checked FreeBSD handbook, but it doesn't say anything about defining more partitions. Because you _cannot_ define more partitions than up to 'h'. This is a hard-defined limit of MBR-style partitions (as they are initialized with bsdlabel). my question is: how can i define more partitions on my freebsd? (for example, ad3s1a, ..., ad3s1h, ad3s1i, ad3s1j, ...). You cannot. You need to use the GPT partitioning approach and repartition your disk. With gpart, you can create more than 'h' partitions, but the partitions will have different names, such as ad3s1p1, ad3s1p2, ..., ad3s1p10, ad3s1p11, ... and so on. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: define more partitions in freebsd
s m writes: and my last question, some people say to change byte 0x28a of the disk from 0x08 to 0x14 (which 14 is the number of partitions). do you think it's a good idea and applicable solution? Short answer: if you have to ask - no, it isn't. :-) Respectfully, Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: define more partitions in freebsd
thanks Robert, so i just have one choice: gpart. do you know how to use it? i define ad3 and ad3s1; after that i run this command: gpart create -s mbr -n 20 ad3s1. but this error happens: GEOM: file exists. after that i do it again in different way: i create ad3 and after that run the above command but it says: invalid argument ad3s1. i think because there is no ad3s1!!! now how can i use -n flag to set entries number for my partitioning??? you know it is so important for me :(( any comments or hints are really appreciated. SAM On 6/1/13, Robert Huff roberth...@rcn.com wrote: s m writes: and my last question, some people say to change byte 0x28a of the disk from 0x08 to 0x14 (which 14 is the number of partitions). do you think it's a good idea and applicable solution? Short answer: if you have to ask - no, it isn't. :-) Respectfully, Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: define more partitions in freebsd
On Sat, 1 Jun 2013 11:10:32 +0430, s m wrote: hello all i want to install freebsd8.2 on my system. for some reasons, i need partitions more than 6. my freebsd just allow me to define partitions from a to h, not any more. That's correct and expected for the MBR partitioning approach (which is considered mostly outdated today). i checked FreeBSD handbook, but it doesn't say anything about defining more partitions. Because you _cannot_ define more partitions than up to 'h'. This is a hard-defined limit of MBR-style partitions (as they are initialized with bsdlabel). my question is: how can i define more partitions on my freebsd? (for example, ad3s1a, ..., ad3s1h, ad3s1i, ad3s1j, ...). You cannot. You need to use the GPT partitioning approach and repartition your disk. With gpart, you can create more than 'h' partitions, but the partitions will have different names, such as ad3s1p1, ad3s1p2, ..., ad3s1p10, ad3s1p11, ... and so on. Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... Are you sure of this? Can you GPT-partition an MBR slice as opposed to the whole disk? You should get ad3p1, ad3p2, ...,ad3p10, ad3p11, ... Then you would have to migrate an MBR partition table to GPT, if you have non-FreeBSD slices. I don't know if gpart can do that, but Rod Smith's gdisk (included in FreeBSD ports) or gpt (still used in NetBSD but not FreeBSD) can. Tom ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: define more partitions in freebsd
On Sat, 1 Jun 2013, Polytropon wrote: On Sat, 1 Jun 2013 11:10:32 +0430, s m wrote: my question is: how can i define more partitions on my freebsd? (for example, ad3s1a, ..., ad3s1h, ad3s1i, ad3s1j, ...). You cannot. You need to use the GPT partitioning approach and repartition your disk. With gpart, you can create more than 'h' partitions, but the partitions will have different names, such as ad3s1p1, ad3s1p2, ..., ad3s1p10, ad3s1p11, ... and so on. GPT partitioning is a replacement for MBR partitioning, and will generally look like ad3p1, ad3p2, and so on. FreeBSD's GPT implementation should allow 128 GPT partitions by default, although I have not tested that. Use of gpart to set up a disk is shown here: http://www.wonkity.com/~wblock/docs/html/disksetup.html The FreeBSD 9.x installer, bsdinstall, uses GPT partitioning by default. The older sysinstall that is used on FreeBSD 8 does not, and probably has no native way to use GPT. The partitions would have to be set up manually from a shell before running the installer, and then manually entered in the installer. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: define more partitions in freebsd
On Sat, 1 Jun 2013 07:10:03 -0600 (MDT), Warren Block wrote: On Sat, 1 Jun 2013, Polytropon wrote: On Sat, 1 Jun 2013 11:10:32 +0430, s m wrote: my question is: how can i define more partitions on my freebsd? (for example, ad3s1a, ..., ad3s1h, ad3s1i, ad3s1j, ...). You cannot. You need to use the GPT partitioning approach and repartition your disk. With gpart, you can create more than 'h' partitions, but the partitions will have different names, such as ad3s1p1, ad3s1p2, ..., ad3s1p10, ad3s1p11, ... and so on. GPT partitioning is a replacement for MBR partitioning, and will generally look like ad3p1, ad3p2, and so on. Sorry for my inaccuracy: Of course the slicing part as well as the BSD partitions are _both_ replaced by GPT partition numbers. Use of gpart to set up a disk is shown here: http://www.wonkity.com/~wblock/docs/html/disksetup.html That article should be on the top of each list regarding disk partitioning on FreeBSD, maybe something comparable could be added to the Handbook? The FreeBSD 9.x installer, bsdinstall, uses GPT partitioning by default. The older sysinstall that is used on FreeBSD 8 does not, and probably has no native way to use GPT. As far as I know: no. You have to use the common CLI tools if you want to install FreeBSD 8 on a GPT system (but it's easily possible). The partitions would have to be set up manually from a shell before running the installer, and then manually entered in the installer. With the precaution of _not_ to vary existing partitions. However, I don't know how the installer will handle the non-MBR partitions (probably comparable to dedicated partitions?), I've never tried that. (Even for dedicated layout, I personally tend to use CLI only, without using sysinstall or sade). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: define more partitions in freebsd
On Sat, 1 Jun 2013 05:36:13 -0700 (PDT), Thomas Mueller wrote: On Sat, 1 Jun 2013 11:10:32 +0430, s m wrote: hello all i want to install freebsd8.2 on my system. for some reasons, i need partitions more than 6. my freebsd just allow me to define partitions from a to h, not any more. That's correct and expected for the MBR partitioning approach (which is considered mostly outdated today). i checked FreeBSD handbook, but it doesn't say anything about defining more partitions. Because you _cannot_ define more partitions than up to 'h'. This is a hard-defined limit of MBR-style partitions (as they are initialized with bsdlabel). my question is: how can i define more partitions on my freebsd? (for example, ad3s1a, ..., ad3s1h, ad3s1i, ad3s1j, ...). You cannot. You need to use the GPT partitioning approach and repartition your disk. With gpart, you can create more than 'h' partitions, but the partitions will have different names, such as ad3s1p1, ad3s1p2, ..., ad3s1p10, ad3s1p11, ... and so on. Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... Are you sure of this? Can you GPT-partition an MBR slice as opposed to the whole disk? Probably not. GPT obsoletes both slices and partitions. You should get ad3p1, ad3p2, ...,ad3p10, ad3p11, ... That is what I should have written. :-) Then you would have to migrate an MBR partition table to GPT, if you have non-FreeBSD slices. I don't know if gpart can do that, but Rod Smith's gdisk (included in FreeBSD ports) or gpt (still used in NetBSD but not FreeBSD) can. The simplest approach would probably be to backup the data from the existing partitions, re-inialize the whole disk with a GPT scheme, format the (GPT) partitions and then restore the dump previously taken. I'm not sure if such kind of harsh re-partitioning can be done _safely_ on the fly... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: define more partitions in freebsd
s m sam.gh1...@gmail.com writes: hello all i want to install freebsd8.2 on my system. for some reasons, i need partitions more than 6. my freebsd just allow me to define partitions from a to h, not any more. i checked FreeBSD handbook, but it doesn't say anything about defining more partitions. my question is: how can i define more partitions on my freebsd? (for example, ad3s1a, ..., ad3s1h, ad3s1i, ad3s1j, ...). any comments or hints are appreciated. SAM Others have already commented that GPT labels are better, but I think that you can have more than 8 partitions. I remember a posting a while back that the maximum had been increased. You will have to experiment if you want to do this, but gpart shows an example that uses 20 partitions: '/sbin/gpart create -s BSD -n 20 ada0s1'. I also don't know that bsdlabel will handle these, so you definitely should experiment first. -- Carl Johnsonca...@peak.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org