Passing extra parameters when booting the live medium

Questions about the installation of FreeBSD

Passing extra parameters when booting the live medium

Postby giorgiob » Sat May 07, 2016 7:01 pm

I have successfully installed FreeBSD on my computer, but I had a problem with my hard disk, which I solved as documented in this question: http://unix.stackexchange.com/questions/225494/cannot-access-hard-disks-from-freebsd-installation-cd

The solution was to set the variable

hw.ata.ata_dma=0

during boot. After the installation was completed, I added the line

hw.ata.ata_dma=0

to /boot/loader.conf and everything worked fine from then on.

Now I have the same problem when starting the GhostBSD from the iso image. I tried adding the line

set hw.ata.ata_dma=0

at the end of the boot options, but the problem still persists.
After reporting the error a few times, the boot continue and I can get to the desktop and start the installer.
However, when the installer tries to format the disk, the error appears again and the installation is aborted.

So, how can I set the parameter

hw.ata.ata_dma=0

when booting from the installation iso image?
giorgiob
 
Posts: 2
Joined: Sat May 07, 2016 6:51 pm
Has thanked: 0 time
Been thanked: 0 time

Passing extra parameters when booting the live medium


Re: Passing extra parameters when booting the live medium

Postby ASX » Sat May 07, 2016 8:34 pm

press SHIFT while booting from cd/dvd and then edit the grub menu entry:

add:
Code: Select all
set kFreeBSD.hw.ata.ata_dma=0
in /boot/grub/grub.cfg in the entry marked 'FreeBSD', around this line:
kfreebsd /ROOT/initial/@/boot/kernel/kernel

the difference is because loader.conf is evaluated from FreeBSD boot loader, but not from grub boot loader, which is the bootloader used from GhostBSD DVD/USB.
ASX
Developer
 
Posts: 702
Joined: Wed May 06, 2015 3:46 pm
Location: ITALY
Has thanked: 31 times
Been thanked: 74 times

Re: Passing extra parameters when booting the live medium

Postby giorgiob » Sat May 07, 2016 9:00 pm

Worked like a charm! Thanks a lot!
giorgiob
 
Posts: 2
Joined: Sat May 07, 2016 6:51 pm
Has thanked: 0 time
Been thanked: 0 time


Return to Installing GhostBSD

Who is online

Users browsing this forum: Google [Bot] and 2 guests

cron