*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
04-16-2006, 09:32 PM
|
#1
|
|
Senior Member
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445
Rep:
|
can any of the BSDs be installed on a logical partition?
Can any of the BSDs be installed on a logical partition? I know FreeBSD can't, can any of the other's?
|
|
|
|
04-17-2006, 08:26 AM
|
#2
|
|
Member
Registered: May 2005
Location: Greece
Posts: 372
Rep:
|
http://mail-index.netbsd.org/port-i3...1/11/0004.html
Read this.
NetBSD can be installed in a logical partition, but the mailing list says that you must use the NetBSD bootloader
(i don't know if grub/lilo works).
Maybe other BSDs can too.
|
|
|
|
04-17-2006, 01:26 PM
|
#3
|
|
Member
Registered: Jun 2005
Location: Indiana, USA
Distribution: OpenBSD, Ubuntu
Posts: 892
Rep:
|
I always thought that logical partitions were a DOS/Windows answer to a DOS/Windows problem. The BSD systems have always used the disk > slice > partition paradigm which, when ported to the x86 arch, means a max of four unique operating systems (one per slice) with 25* possible partitions per each OS. Because DOS/Windows didn't use partitions (in the BSD sense), you were effectively limited to four slices with only one partition each. When people started needing more than four partitions, they tacked on the notion of logical partitions, which almost overcomes this problem. It seems to me that this was pretty much a hack-job; and while I appreciate a quickly put-together solution as much as the next programmer, I also appreciate a certain amount of polish in useful features. The problem is, this polishing apparently didn't happen with the logical partition idea: from what I understand, they're effectively not supported at the hardware level, which means that you've now got three slices with one partition and one slice with an arbitrary number of partitions. Needless to say, this has now got a lot of Windows users in a bind if they ever want to switch to a BSD environment, which does not well support logical partitions (because they already fixed this problem some number of years ago). Historically, support is minimal, if not non-existent; the latter seems to be much more often the case. All the examples I've ever seen operate on a primary partition (a slice, in BSD terms) because this is what the hardware can reconcile. Installing into a logical partition doesn't make any sense because only the software system that created it knows how to work with it correctly. It would be like installing a BSD slice as wd0d, and then having your root in wd0da, swap in wd0db, etc; and that's just nonsense.
And if I'm wrong on any of the above, please correct me. I like to learn from my mistakes.
* 25 = A through Z, minus C (which refers to the whole disk). A refers to the root partition, and B by convention to swap. D used to be special to refer to the partition, but I don't think any BSD systems enforce this anymore.
|
|
|
|
04-17-2006, 04:45 PM
|
#4
|
|
Senior Member
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445
Original Poster
Rep:
|
My understand was that you can only have four primary partitions on a HD. One of those could be a logical partition(or many) inside of one of the primary. I've got 3 primary set up, and one logical that's divided in two, one for linux swap, and one for(I thought) BSD. From what I've seen, BSD can't be installed on this logical partition, and thus, I'd have to do something else....
|
|
|
|
04-18-2006, 08:01 AM
|
#5
|
|
Senior Member
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705
Rep:
|
Quote:
|
Originally Posted by microsoft/linux
Can any of the BSDs be installed on a logical partition? I know FreeBSD can't, can any of the other's?
|
The problem is that *BSD doesn't have the linux-like kernel as a boot loader parameter and it expects things to be arranged in a specified order, at the beginning of the partition. And logical partitions have a 63 sector MBR in the beginning of each one, so instead of starting at 0, the usable portion starts at 63. There are some vague allusions to this in the OpenBSD doc but no details. I don't think it can be too difficult.
I haven't tried this, but it should be possible to use a linux bootloader (Grub or Lilo) to boot *BSD from a logical partition, but maybe the typical chainloader entry won't work and you'll have to specify something else. When I get another machine to test with I'll try this.
P.S. to Taylor: The *BSD disklabel is a separate issue from the DOS partition table. The disklabel is probably supposed to be in the first 63 sectors for *BSD partitions (primary) but to implement it in a DOS logical partition, it will have to start at 63. That just means you have to adjust disklabel offsets (to *BSD partitions) accordingly and everything should work normally.
This is really only an administrative consideration and shouldn't be considered a big hack. The design of DOS partition tables may be outdated, but it's not the worst thing that ever happened to a PC 
Last edited by Randux; 04-18-2006 at 08:07 AM.
|
|
|
|
04-18-2006, 09:07 AM
|
#6
|
|
Senior Member
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445
Original Poster
Rep:
|
OpenBSD woudln't let me even install to a logical partition. Do any of the others allow that?
|
|
|
|
04-18-2006, 09:53 AM
|
#7
|
|
Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
As mentioned by others, your best bet is NetBSD and thats not guaranteed to work smoothly. Some of the other smaller BSDs are based on or forked from the 3 major BSDs so they will probably have the same limitations.
Last edited by reddazz; 04-18-2006 at 08:32 PM.
|
|
|
|
04-18-2006, 12:42 PM
|
#8
|
|
Member
Registered: Jul 2004
Location: Greece
Distribution: FreeBSD 6.2/widows[not 8 legs nor black]
Posts: 123
Rep:
|
microsoft/linux
why u want to put bsd in a logical drive
the other three primary arent free? one for windows I suppose. you can store data in logical partition, and you have two more, one for linux say.
I had 3 primary and an extended with 5 partitions, in one disk.
one thing that I have to say, is that FreeBSD has a different look of the disk, from windows. different geometry.
the layout was Win/BSD/Win_[logical all win]
in the BSD partition I had /usr/*
so, as they had a different point of view [BSD/Windows] , finally the disk blasted. i had to format it , to make it working.
by the way, take a look in 'grub'
bye
|
|
|
|
04-18-2006, 05:33 PM
|
#9
|
|
Senior Member
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445
Original Poster
Rep:
|
Currently 3 primary, and one logical, 1 Windows, one FAT32(for windows linux swap), 1 linux, and on the logical, linux swap. I suppose I could back up my music and make that a logical, but then I'd have to move my linux swap....maybe that'll work.
|
|
|
|
04-19-2006, 02:01 AM
|
#10
|
|
Member
Registered: Jul 2004
Location: Greece
Distribution: FreeBSD 6.2/widows[not 8 legs nor black]
Posts: 123
Rep:
|
windows/linux
the size of your disk?
the disk i was describing is 80 Gb
and now has only FreeBSD on it.
windows is in a second disk. 120 gb
and the FAT32 part is on my disk (20 gb) that came with my pc
as i am not a unix/linux guru, that way is safe.
when i had windows and bsd part in the same disk, i told you, disastrous.
|
|
|
|
04-19-2006, 02:17 AM
|
#11
|
|
Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
I don't use Windows, but I am sure my partitioning system will work. On my test machine, I tend to create 3 primary partitions and 1 extended. I reserve the primary partitions for BSD and Solaris. I install anything related to Linux on logical partitions. This way I never run out of primary partitions for the OSes that need to be on primary partitions. If you follow such a scheme, Windows will be installed on one primary partition and you can use the remaining two for other OSes.
|
|
|
|
04-19-2006, 07:41 AM
|
#12
|
|
Senior Member
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445
Original Poster
Rep:
|
ok, changed my partitioning scheme around, so now I should be able to use BSD, thanks to everyone.
|
|
|
|
04-19-2006, 12:13 PM
|
#13
|
|
Member
Registered: Jul 2004
Location: Greece
Distribution: FreeBSD 6.2/widows[not 8 legs nor black]
Posts: 123
Rep:
|
i just got 'grub' working,
[told you I am not guru]
if you have any problem running dual boot, check 'grub' [lilo is for linux i think, i did not find any port , or i did not search to much]
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 10:25 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|