DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 1st June 2011
thereisopenbsd thereisopenbsd is offline
New User
 
Join Date: Jun 2011
Posts: 1
Thanked 0 Times in 0 Posts
Default cant mount 16th partition because of disklabel limitation

those are partitions I have can be seen in linux

~$sudo fdisk -l

Device Boot Start End Blocks Id System
/dev/sda1 1 1977 995998+ 82 Linux swap
/dev/sda2 * 1977 6806 2433847+ a6 OpenBSD
/dev/sda3 6807 12622 2931264 c W95 FAT32 (LBA)
/dev/sda4 12623 350819 170450564+ 5 Extended
/dev/sda5 12623 22313 4883728+ 83 Linux
/dev/sda6 22313 32003 4883728+ 83 Linux
/dev/sda7 32003 41693 4883728+ 83 Linux
/dev/sda8 41693 76580 17583111 83 Linux
/dev/sda9 76580 118305 21029053+ 83 Linux
/dev/sda10 118305 195809 39062016 83 Linux
/dev/sda11 195809 273314 39062488+ 83 Linux
/dev/sda12 273314 350819 39062488+ 83 Linux


but in openbsd because of disklabel support only 15 from "a" to "p"
I cant use last two:

/dev/sda11 195809 273314 39062488+ 83 Linux
/dev/sda12 273314 350819 39062488+ 83 Linux


in openbsd I have device nodes from "/dev/sd0a" to "/dev/sd0p",
and the "/dev/sd0p" is actually /dev/sda10 in linux and I can mount it,
but I need access to next "/dev/sda11" how can I get this?

thanks
Reply With Quote
  #2   (View Single Post)  
Old 2nd June 2011
IdOp's Avatar
IdOp IdOp is offline
Too dumb for a smartphone
 
Join Date: May 2008
Location: twisting on the daemon's fork(2)
Posts: 563
Thanked 14 Times in 13 Posts
Default

Hello thereisopenbsd, and welcome to daemonforums.org.

One possibility to access that partition is to edit the disklabel, and remove one of the other Linux partitions from it (preferably one you don't need to access), and replace it with the one you want to access. That means, change the offset and size parameters to define the partition you want.

While this is not hard to do, it can be quite scary the first times you try something like this. So, read the disklabel(8) man page thoroughly, and proceed with caution (double- or triple-check everything). If you make a mess, simply exit disklabel without saving changes, regroup, and start again.

I'm not enough of an expert to suggest anything else if this method isn't suitable for you.
Reply With Quote
  #3   (View Single Post)  
Old 3rd June 2011
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,697
Thanked 214 Times in 189 Posts
Default

MBR partitions and BSD disklabel partitions are separate entities. But at disklabel initialization time, OpenBSD reads the MBR table and adds recognized "foreign" partitions to the disklabel. You may delete those from it, it will not affect the MBR table.
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
DragonFly BSD disklabel program changes. J65nko News 0 18th February 2010 01:59 AM
Mounting an FS with no MBR/disklabel Carpetsmoker FreeBSD General 2 10th December 2009 01:22 PM
Disklabel problem sateenkaari NetBSD Installation and Upgrading 3 13th August 2009 02:51 AM
Moving linux partitions out of the BSD disklabel/slice fbsduser NetBSD Installation and Upgrading 5 4th March 2009 07:07 AM
disklabel don't see OpenBSD partition piotrk OpenBSD General 4 25th September 2008 06:14 PM


All times are GMT. The time now is 12:39 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick