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 3: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 2: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 4: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: 867
Joined: Wed May 06, 2015 11:46 am
Location: ITALY
Has thanked: 49 times
Been thanked: 110 times

Re: Passing extra parameters when booting the live medium

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

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


Return to Installing GhostBSD

Who is online

Users browsing this forum: No registered users and 2 guests

cron