Latest News

Dual Boot Ubuntu 13.04 + FreeBSD 9

By Admin - Selasa, 18 Juni 2013

cek partisi hardisk

$ sudo fdisk -l

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2048      206847      102400    7  HPFS/NTFS/exFAT
/dev/sda2          206848   143362047    71577600    7  HPFS/NTFS/exFAT
/dev/sda3   *   143362107   183207905    19922899+  a5  FreeBSD
Partition 3 does not start on physical sector boundary.
/dev/sda4       183799665   625142447   220671391+   f  W95 Ext'd (LBA)
Partition 4 does not start on physical sector boundary.
/dev/sda5       183799728   424019609   120109941    7  HPFS/NTFS/exFAT
/dev/sda6       424019673   577552814    76766571    7  HPFS/NTFS/exFAT
Partition 6 does not start on physical sector boundary.
/dev/sda7       577554432   617330687    19888128   83  Linux
/dev/sda8       617334921   625142447     3903763+  82  Linux swap / Solaris
Partition 8 does not start on physical sector boundary.



terlihat partisi freeBSD ada di /dev/sda3

kemudian edit file grub.cfg

$ sudo gedit /boot/grub/grub.cfg

Tambahkan baris berikut

### FreeBSD ###
menuentry "FreeBSD 9.0" {
set root=(hd0,3,a) #<-- disesuaikan dengan partisi FreeBSD anda
chainloader +1
}

atau

### FreeBSD ###
menuentry "FreeBSD 9.0" {
set root=(hd0,3,a) #<-- disesuaikan dengan partisi FreeBSD anda
freebsd /boot/loader
}


*) misal.. jika partisi berada di /dev/sda1

### FreeBSD ###
menuentry "FreeBSD 9.0" {
set root=(hd0,1,a)
chainloader +1
}


Selamat mencoba :)

Follow our blog on Twitter , become a fan on Facebook . Stay updated via RSS

0 komentar for " Dual Boot Ubuntu 13.04 + FreeBSD 9 "

Leave a Reply