*BSDThis 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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hi, i tried to install freeBsd into a laptop already has windows xp and debian linux installed. i set aside 20G for freeBSD with gparted. however, during the installation, at partition editor stage, when Selecting Create, Delete or Modify gives an error:
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,499
Rep:
It doesn't like something about your disk, suggest you take a look at the FreeBSD installation guide, https://www.freebsd.org/doc/en/books...stall-pre.html
(I think it has to boot from below a certain size of disk.)
I did an install to see if I could reproduce the problem. Installed FreeBSD on a 30GB single partition along side Linux. Everything went fine.
it turned out freebsd doesn't like being installed on logical partition. i set the free partition to primary partition from windows first, then using freebsd installer to delete that partition and create a new one. this time installation went through.
however, after completion of installation and rebooted the machine, grub doesn't display freebsd as an option. i verified both windowsxp and debian can be booted as usual.
here's the partition info by 'fdisk' and output of os-prober.
Code:
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x9f114bc6
Device Boot Start End Sectors Size Id Type
/dev/sda1 63 62929439 62929377 30G 7 HPFS/NTFS/exFAT
/dev/sda2 * 106027047 143775701 37748655 18G a5 FreeBSD
/dev/sda3 143806320 156295439 12489120 6G c W95 FAT32 (LBA)
/dev/sda4 62930942 106027007 43096066 20.6G f W95 Ext'd (LBA)
/dev/sda5 62930944 82460671 19529728 9.3G 83 Linux
/dev/sda6 82462720 85053439 2590720 1.2G 82 Linux swap / Solaris
/dev/sda7 85055488 106027007 20971520 10G 83 Linux
Partition table entries are not in disk order.
erdos@debian:~$ os-prober
unshare failed: Operation not permitted
rm: cannot remove ‘/var/lib/os-prober/labels’: Permission denied
erdos@debian:~$ sudo os-prober
/dev/sda1:Microsoft Windows XP Professional:Windows:chain
/dev/sda3:Windows NT/2000/XP:Windows1:chain
erdos@debian:~$
erdos@debian:~$
ok, after I searched online and found out about command 'boot0cfg', I reinstalled FreeBSD and this time instead of rebooting immediately after installation, I went into shell and run the following:
Code:
su
boot0cfg -B ada0
reboot now
now, after reboot, I was given the option to login FreeBSD or win, but not Linux:
F1:Win
F2:FreeBSD
F3:?
F4:?
F6: PXE
//F3 is the windows recovery partition, F4 does not respond.
Try by putting Debian8's boot loader into its root partition.
i tried to reinstall grub by using both netinstall and full image of Debian8 64bit installation.
on netinstall rescue mode(under 'Advanced option' on the main menu), it couldn't detect a kernel image on hard disk.
on full image (live cd version), it doesn't list rescue under 'Advanced Option' at main menu.
That's why. Your Linux distribution needs to be on a primary partition to be properly detected.
MBR is not the best to use for Linux and BSD partitions. You should use a separate hard drive for Linux and BSD to utilize GPT partitioning, and have Windows on it's own disk with MBR still.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.