View Single Post
  #1   (View Single Post)  
Old 13th July 2014
cravuhaw2C cravuhaw2C is offline
Port Guard
 
Join Date: Jul 2014
Posts: 45
Default Create a partition for OpenBSD in a multi-boot OS environment

Guys,

Before you’re going to advise me against doing it, I did read the advisory in 4.9 of “Multibooting OpenBSD (amd64, i386)” of http://www.openbsd.org/faq/faq4.html#Multibooting

I just want to learn and I hope you will indulge me

First, I have only one SSD of about 240 GB.

Second, I have Ubuntu OS installed on /dev/sda1 (I don’t know what it will be named on OpenBSD). sda1 contains all the /root, /home, /var/, /temp, /usr that Ubuntu will use. I didn’t create a swap partition as I’m using an SSD. Grub2 has been installed on the MBR.

Third, I wish to install OpenBSD (amd64, US keyboard) on /dev/sda2. Again sda2 will contain all the /root, /home, /var, /temp, /usr that OpenBSD needs. I don’t want to create a swap partition for OpenBSD OS. The reason is I’m using an SSD.

I met an obstacle during installation and I hope that you will help me out:

Code:
Use (W)hole disk or (E)dit the MBR? [whole] e

You will now create a single MBR partition to contain your OpenBSD data. This partition must have an id of ‘A6’; must *NOT* overlap other partitions;  and must be marked as the only active partition. Inside the fdisk command, the ‘manual’ command describes all the fdisk commands in detail.

Disk: sd0    geometry: 29185/255/63 [468862128 sectors)
Offset: 0    Signature: 0xAA55

                  Starting                Ending        LBA Info:                
 #:    id       C    H    S  -         C     H    S    [start : size]    
 *0:   83       0    32   33 -         3647 67    4    [2048 : 58591232] Linux files*
  1:   83       3647 67   5  -         9118 40   10    [58593280 : 87889920] Linux files*
  2:   00       0    0    0  -          0    0    0    [0 : 0 ]    unused
  3:   00       0    0    0  -          0    0    0    [0 : 0 ]    unused

Enter ‘help’ for information
fdisk: 1>

I did consult the FAQs, ‘man’ pages and even typed in ‘help’ at the fdisk: 1> prompt before I posted this request for help. I couldn’t make sense of all the parameters and options available with fdisk.

All I wish to do is create a 45 GB partition on /dev/sda2 of my SSD for OpenBSD (all the system files, /home, /temp, /user).

Thanks in advance for your help in this.

Last edited by cravuhaw2C; 13th July 2014 at 09:21 AM.
Reply With Quote