Solved Installing FreeBSD stopped at stage booting.

Hello all.
I have a PC - HP Pro 3500, i5, 4 Gb RAM and 500 Gb Hdd WD. When I tried to install FreeBSD 10.0 I had some problems. So, when FreeBSD boots, I saw the Boot Manager and then installation stoped after "Booting". No errors, nothing! Please help me. I didn't use UEFI.

Added:
I tested the old DVD and new DVD, the problem was in software. I used the new DVD, burned at my home with another software and FreeBSD 10 was installed. But ... Now my computer doesn't boot FreeBSD 10. I think that there is a problem with mbr of FreeBSD, because I don't see any load attempt from my hdd. I tried to install FreeBSD with mbr, zfs and gpt, but there was no result. Please, can you give me an advice?
 
Reface said:
Hello all.
I have a PC - HP Pro 3500, i5, 4 Gb RAM and 500 Gb Hdd WD. When I tried to install FreeBSD 10.0 I had some problems. So, when FreeBSD boots, I saw the Boot Manager and then installation stoped after "Booting". No errors, nothing! Please help me. I didn't use UEFI.
So are you saying the system stops at "Booting..." when you are trying to boot from the FreeBSD installation media or when you are trying to boot FreeBSD after installation? If the former, are you sure you are using the installation media that matches your system architecture?
 
@trh411, this error I see, when I am trying to boot from the FreeBSD installation media for install. I'm sure in type of installation media - amd64. I tried i386 but I saw an error after "Booting..."
 
Last edited by a moderator:
What are you using to boot with? The CD, DVD or memstick image? And how did you create it?
 
If I'm not mistaken the "Booting..." message is something the BIOS/UEFI prints on the screen just before actually starting to boot any media. Does it spin up the CD? I mean can you hear it trying to read from it? Oh, and a silly question perhaps but are you sure the machine is capable of reading DVDs? It may just be a CD drive instead.
 
@SirDice, @wblock@ you both are right. I used another DVD disk, which was burned by another program and another DVD reader. So FreeBSD was installed, but it doesn't boot. As I understand it is the freebsd-boot slice error.
Can I use this topic to solve this problem or I have to open another one?
 
Last edited by a moderator:
Reface said:
@SirDice, @wblock@ you both are right. I used another DVD disk, which was burned by another program and another DVD reader. So FreeBSD was installed, but it doesn't boot. As I understand it is the freebsd-boot slice error.

Wait, those are two wildly different things. It's not very odd for a fresh DVD to be bad, or a burner to have trouble with some DVDs. Likewise, my suggestion is a common problem, where the user gets an ISO file which should be used to create a whole DVD or CD, but is instead copied as a single big file.

Neither of these has anything to do with a FreeBSD bug, and FreeBSD will not be installed after these problems. It can't even start, the installer never gets to run.

Get a file listing of the DVD. If it shows just the DVD installer ISO file, that's the second problem.

Can I use this topic to solve this problem or I have to open another one?

This one. It's just editing the first message and adding [Solved] to the beginning of the topic name.
 
Last edited by a moderator:
I'm sorry, I couldn't write the answer immediately, because I had some problems with one of my servers at my work. So, now I have time :OOO
@wblock@, as I tested the old DVD and new DVD, the problem was in software. I used the new DVD, burned at my home with another software and FreeBSD 10 was installed. But ... Now my computer doesn't boot FreeBSD 10.

Can I use this topic to solve this problem or I have to open another one?
wblock@ said:
This one. It's just editing the first message and adding [Solved] to the beginning of the topic name.
I have no permissions for adding [Solved] to the beginning of the topic name. I corrected the first message. And in this my post I added the information about my problem too.
It is:
Now my computer doesn't boot FreeBSD 10, I think that there is a problem with mbr of FreeBSD, because I don't see any load attempt from my hdd. I tried to install FreeBSD with mbr, zfs and gpt, but there was no result. Please, can you give me an advice?

P.S. In my opinion FreeBSD is the most interesting OS, it makes my brain works :)
 
Last edited by a moderator:
@Reface, how about chrooting into your FreeBSD and fix the bootstrapping codes there?

  1. Boot up the freebsd FreeBSD DVD and drop into the shell
  2. Load the zfs module: # kldload zfs
  3. check the pool name and then import your pool (e.g. XXXpool ) at /mnt as the alternate root point: #zpool import
    This will find the pool available for import; # zpool import -f -o readonly=off -R /mnt XXXpool
  4. Prepare for your chrooting #may skip this step if your /mnt/dev contain valid devices? # mount -t devfs devfs /mnt/dev
  5. Chroot into your pool: # chroot /mnt /bin/sh
  6. Reinstall the bootloading codes into the MBR and your freebsd-boot partition[](e.g. ada0p3, the third partition, usually it's the first partition, if not sure, may check with gdisk); # gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 3 ada0
  7. Exit the chroot and export your pool;
    # exit
    # zpool export XXXpool
  8. Reboot
Tell me if it works :e
 
Last edited by a moderator:
helizeg said:
check the pool name and then import your pool (e.g. XXXpool ) at /mnt as the alternate root point: #zpool import
This will find the pool available for import; # zpool import -f -o readonly=off -R /mnt XXXpool
This may not work because the root filesytem (including /mnt) is read-only. Use /tmp or /var/tmp instead.
 
It doesn't work. I'll describe all my stages.
  1. Boot from DVD and Shell.
  2. kldload zfs
  3. zpool import -f -o readonly=off -R /tmp zroot
  4. mount -t devfs devfs /tmp
  5. chroot /tmp /bin/sh
  6. gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada0
  7. exit
  8. zpool export -f zroot
  9. reboot
  10. My computer tried to boot from DHCP.
gpart show -p
Code:
34                   976773101            ada0             gpt                         466G
34                   6                                                      -free-                      3K
40                   1024                            ada0p1           freebsd-boot           512K 
1064                16777216                     ada0p2          freebsd-swap           8G
16778280         959994848                    ada0p3         freebsd-zfs             458G
976773128       7                                                     -free-                      3,5K
 
helizeg said:
Don't know if it would make any difference, but step 4. should be

4. mount -t devfs devfs /tmp/dev
I have the same result. Very strange, I made this in AHCI mode and IDE mode, but I had no result :(
 
You're trying to boot up a GPT disk with a legacy BIOS motherboard,right?
If so, have you set the active boot flag to the protective MBR with fdisk?
 
helizeg said:
You're trying to boot up a GPT disk with a legacy BIOS motherboard,right?
If so, have you set the active boot flag to the protective MBR with fdisk?
You probably don't want to set this. I've had issues when the 'fake' MBR was marked active. After that I couldn't boot my Windows 7 any more. Some BIOS/UEFI implementations seem to default to a legacy boot when the MBR partition was active, preventing the UEFI boot of Windows. And besides using a hexeditor to remove the active bit there's no way to 'unmark' an active MBR parition.
 
Back
Top