USB INSTALL SCRIPTS

Peter Steele psteele at maxiscale.com
Thu Feb 26 08:54:01 PST 2009


I solved the issue in my case. When I first ran the script I didn't notice that it created versions of several system config files, including loader.conf and rc.conf. I modified the script to make versions that matched my requirements and the keyboard hang problem went away. 

----- Original Message ----- 
From: "regis505" <regis505 at gmail.com> 
To: freebsd-questions at freebsd.org 
Sent: Thursday, February 26, 2009 7:41:58 AM GMT -08:00 US/Canada Pacific 
Subject: Re: USB INSTALL SCRIPTS 



Just want to say that it does the same to me. The script works great but it 
stops at the same place: 

atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0 

I hope there is a solution because I find the process really cool. 
Regis 




PeterSteele wrote: 
> 
> The script runs fine, but the resulting USB drive won't boot. It hangs on 
> 
> Feb 25 19:27:50 kernel: atkbdc0: <Keyboard controller (i8042)> port 
> 0x60,0x64 irq 1 on acpi0 
> 
> every time. I tried different systems as well. There is no error, it just 
> hangs. Any idea what this is about? I did a web search but could fine 
> anything describing this kind of hang. 
> 
> ----- Original Message ----- 
> From: "Sergio de Almeida Lenzi" <lenzi at k1.com.br> 
> To: "Formula 1" <btccrules at yahoo.co.uk>, "freebsd-questions" 
> <questions at freebsd.org> 
> Sent: Saturday, February 21, 2009 6:18:22 AM GMT -08:00 US/Canada Pacific 
> Subject: USB INSTALL SCRIPTS 
> 
> Ok... 
> the scripts are at: 
> http://dist.k1.com.br/scripts/baselist_amd64 
> http://dist.k1.com.br/scripts/baselist_i386 
> http://dist.k1.com.br/scripts/makebootdisk 
> http://dist.k1.com.br/scripts/zfsetup 
> 
> install these scripts on /root 
> 
> makebootdisk: 
> formats the disk (or usb stick) at da0,da1...) make a bsdlabel on it 
> and using the baselist file, copies the running system files into the 
> USB 
> it will work on FreeBSD versions greater 7.0 
> this way the usb is bootable, have a filesystem on it. 
> the same root password... 
> you can fix the files /etc/rc.conf, /boot/loader.conf in the usb 
> filesystem in 
> order for it to boot from your kernel. 
> remeber to check for an "a" partition on your usb stick 
> 
> the script needs to have access to install bash (pkg_add -r bash) so it 
> needs internet of a package repository with bash in it. 
> 
> Once boot from your usb stick, you can do the same procedure to 
> transport the running system to another disk 
> if you intend to make a zfs running filesytem on the target disk (hd) 
> make the disklabel (bsdlabel) this way 
> a: 1gb 16 unused 
> b: 4gb * swap 
> d: * * unused 
> that is: 
> a partition 1gb at offset 16 
> b swap partition 4gb after partion A 
> d: the rest of the disk (this will hold the zpool). 
> 
> the makebootdisk will install a running system on A (about 300mb...) 
> 
> 
> ZFSETUP 
> is a script that, when boot from the hd created with makebootdisk 
> moves the running system (booted from "a" partition) to the the zfspool 
> created, in the "d" partition mentioned above.. 
> it edits the loader.conf in order to boot on zfs.. in order to boot 
> from 
> 
> After that, you are running on ZFS... 
> 
> Sergio 
> 
> 
> 
> 
> 
> _______________________________________________ 
> freebsd-questions at freebsd.org mailing list 
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions 
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe at freebsd.org" 
> _______________________________________________ 
> freebsd-questions at freebsd.org mailing list 
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions 
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe at freebsd.org" 
> 
> 

-- 
View this message in context: http://www.nabble.com/USB-INSTALL-SCRIPTS-tp22136545p22226795.html 
Sent from the freebsd-questions mailing list archive at Nabble.com. 

_______________________________________________ 
freebsd-questions at freebsd.org mailing list 
http://lists.freebsd.org/mailman/listinfo/freebsd-questions 
To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org" 


More information about the freebsd-questions mailing list