Wow, that was quick. Can you point me at howto? The (old) ones I managed to find look like you do it by hand. And it's bad enough having to deal with all the restrictions that ASUS put on how to configure the boot managment. I really should have got a laptop with two drives. But anyway. . .
To be honest there isn't a simple guide. There numerous dependencies. I have an X1 Carbon which has 225GB hard drive and originally came with Windows installed. You need sufficient free disk space to create a usable FreeBSD partition, then go intoWow, that was quick. Can you point me at howto? The (old) ones I managed to find look like you do it by hand. And it's bad enough having to deal with all the restrictions that ASUS put on how to configure the boot managment. I really should have got a laptop with two drives. But anyway. . .
That sounds a little bit to definitive to me. I think that the newer the laptop is, the bigger the chances are that a GPT partitioning scheme will work; as well as UEFI. Also, the newer the laptop, the bigger the chances are that that you run into driver issues (not available or not working 100% satisfactory), most notably graphics & WiFi drivers.[...]
One important point to bear in mind is that you must be using an MBR rather than GPT disk.
If you think there is a mandatory reason for using MBR, I'd like to know why.
FreeBSD provides for booting from both the older MBR standard, and the newer GUID Partition Table (GPT).
GPT partitioning is often found on computers with the Unified Extensible Firmware Interface (UEFI).
However, FreeBSD can boot from GPT partitions even on machines with only a legacy BIOS with gptboot(8).
Work is under way to provide direct UEFI booting.
Any comments / advice here? I've seen a couple of older posts, but I don't have that level of detailed knowledge, or the time.
All advice welcome. Thanks.
Here the actual situation is ahead of the documentation. The detailed documentation of the MBR process can easily lead to the impression that GPT is not the best choice. On the other hand the blue box above says:
Hey, we're in 2023 now. Are you sure a notebook that would not support GPT (not talking about not supporting UEFI) would yet be able to run FreeBSD in any useful way (if at all)?The older the laptop, the bigger the chances are that GPT will not work satisfactory or not at all
You could try replacing the storage medium in the laptop (unless its soldered on like brand new machines), take the existing windows one out and put in a new SATA or NVMe drive. That way, if it all goes wrong, you can just swap the drives back and continue with windows.Hey, we're in 2023 now. Are you sure a notebook that would not support GPT (not talking about not supporting UEFI) would yet be able to run FreeBSD in any useful way (if at all)?
It seems to me, such hardware will typically be so old and have so little RAM available, that it can hardly run FreeBSD in any usable way. Of course, I can be mistaken here. Because I'm using GPT ever since it became available in Linux. Don't remember which hardware I was using then and what time it was.
NOTE: some ppl confuse not supporting UEFI with not supporting GPT. Which is not the same thing at all.
I don't know how to setup multibooting with GPT partitions, but hear it can be done using GNU GRUB; I was glad not to have to go there.
Not true. FreeBSD can legacy boot off GPT partition without any problem. GPT itself has pMBR in LBA0 making this possible (lba0 can include bootcode to find boot partition and load it; in our case freebsd-boot). That means any HW capable booting off MBR can do so from GPT too if OS supports it. And FreeBSD supports it for some time.If you have GPT you would probably need to install your own bootloader such as GRUB, which simply adds a number of hurdles into the mix.
What I'm saying is that if you want to dual boot FreeBSD alongside Windows and you have a GPT system you will likely struggle without third party tools.Not true. FreeBSD can legacy boot off GPT partition without any problem. GPT itself has pMBR in LBA0 making this possible (lba0 can include bootcode to find boot partition and load it; in our case freebsd-boot). That means any HW capable booting off MBR can do so from GPT too if OS supports it. And FreeBSD supports it for some time.
As FreeBSD was the 2nd installed OS I expect toWhat do you expect to see when you switch on after installing FreeBSD on a GPT partition, if the system had been booting Windows previously?
I asked this somewhere on this forums before. I'm really curious -- what issues did you run into? I've never run into any issues with GPT.What I'm saying is that if you want to dual boot FreeBSD alongside Windows and you have a GPT system you will likely struggle without third party tools.
If you just overwrite Windows (but leave bootcodes alone), I'd expect FreeBSD to be chain-loader booted.What do you expect to see when you switch on after installing FreeBSD on a GPT partition, if the system had been booting Windows previously?
OP wants to know if he can install FreeBSD in a laptop partition. By that I assume he wants the ability to run his existing OS (presumably Windows), so using the whole disk is a non-starter.I think OP would get best results if they keep it simple and allow the installer to just use the whole disk in the laptop. Dual boot and partitions are frankly big and time-consuming headaches that I left behind when I started using FreeBSD and ZFS. If OP has account details for first user and for root (admin) handy (Just come up with it yourself, OP), that's all really needed to have a bootable system in 10-15 minutes.
It was advice I read from SirDice on these forums.I asked this somewhere on this forums before. I'm really curious -- what issues did you run into? I've never run into any issues with GPT.
Yeah, try preparing the partition so that the FreeBSD installer finds it and offers it to you on a silver platter.I disagree about creating a dual boot Windows/FreeBSD system is a time consuming, difficult process, as long as the disk is using MBR rather than GPT.
Then you misunderstood it. You're only bound to MBR IF you want to use boot0cfg(8).It was advice I read from @SirDice on these forums.
OP wants to know if he can install FreeBSD in a laptop partition. By that I assume he wants the ability to run his existing OS (presumably Windows), so using the whole disk is a non-starter.
I disagree about creating a dual boot Windows/FreeBSD system is a time consuming, difficult process, as long as the disk is using MBR rather than GPT.