my problem is in section 1.5 , when I type ./install.sh generic , it can not find which generic must installkillasmurf86 said:uh, man then you are doing something only god knows what.....
start by checking your directory
killasmurf86 said:generic.aa
generic.ab
...
are one single kernel, splinted to many small archives
can you show exact error, that ./install.sh shows.... or at least screen shot or photo of screen?
It has to work, I've done this million times
./install.sh generic
tr:not found
cat: .??: No such file or directory
# cat generic.* | tar xf - -C [red]/boot/[/red]
mfaridi said:Code:tr:not found cat: .???: not such file or diretory
vermaden said:@mfaridi
Only 2.4. section has info to omit it on amd64 ...
[CMD=""]2.4. Tune ZFS filesystem (only for i386)[/CMD]
@caesius
Thanks mate.
You will have to remount it as read-write mode like that:# mount -u -w /
... and then bring it back to read-only by# mount -u -r /
([CMD=""]-o rw[/CMD] | [CMD=""]-o ro[/CMD] does the same).
You may also read about some other issues on read-only / on FreeBSD here:
http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2008-06/msg01029.html
caesius said:Ok, Think I'll give it a shot, just to be clear all I would have to do to update FreeBSD would be to update sources, buildkernel, buildworld, type the first command, installkernel, reboot, type it again, installworld, reboot, then I'm back to normal ro mode on rebooting. Is this correct?
newsystem# freebsd-update fetch
newsystem# freebsd-update install
mfaridi said:I see error about /var is not root file system , so it can not unmount itCode:umount /NEWROOT/var
zpool create basefs ad4s2
invalid vdev specification
use -f to override the following error :
/dev/ad4s2 is part of potentially active pool 'basefs'
-f
zpool create -f basefs ad4s2
umount /NEWROOT/var
umount: /NEWROOT/var: not a file system root directory
You got this error message, because you already donemfaridi said:I think this error happen because in section 1.4 when I typeIs see this errorCode:zpool create basefs ad4s2
Code:invalid vdev specification use -f to override the following error : /dev/ad4s2 is part of potentially active pool 'basefs'
# zpool create
on that partition before, so it tells you that you can create it again (like going # newfs
two times on the same device) or you may import it if its already there by # zpool import -f basefs
.Show me output ofmfaridi said:I see this errorCode:umount /NEWROOT/var
Code:umount: /NEWROOT/var: not a file system root directory
# mount
command just before typing that command.vermaden said:You got this error message, because you already done# zpool create
on that partition before, so it tells you that you can create it again (like going# newfs
two times on the same device) or you may import it if its already there by# zpool import -f basefs
.
Show me output of# mount
command just before typing that command.
/dev/md0 on / (ufs, local)
devfs on /dev (devfs, local, multilabel)
/dev/acd0 on /dist (cd9660, local, readonly)
basefs on /basefs (zfs, local)
/dev/label/rootfs on /NEWROOT (ufs, local)
basefa/usr on /usr (zfs, local)
basefa/var on /var (zfs, local)
fixit# dd if=/dev/random of=/dev/da0 bs=8m
So tell me HOW you will be able to umount /NEWROOT/var if its not mounted there?mfaridi said:I see this when I type mount
Code:/dev/md0 on / (ufs, local) devfs on /dev (devfs, local, multilabel) /dev/acd0 on /dist (cd9660, local, readonly) basefs on /basefs (zfs, local) /dev/label/rootfs on /NEWROOT (ufs, local) basefa/usr on /usr (zfs, local) basefa/var on /var (zfs, local)
You know what FORUMS is mate?mfaridi said:please help
I stop in here and can not continue
# translate per Makefile:doTARBALL XXX are we sure to have tr?
tn=`echo ${CONFIG} | tr 'A-Z' 'a-z'`
cat $tn.?? | tar --unlink -xpzf - -C $BOOT
[starlight] ~/mnt > find . -name tr -print
[starlight] ~/mnt >
# cat generic.?? | tar --unlink --xpzf - -C /new-bsd/boot
, /new-bsd being the mountpoint of my new system's root, of course. The installation was successful in the end, so it works.fixit# /mnt2/usr/bin/tr
usage: tr [-Ccsu] string1 string2
tr [-Ccu] -d string1
tr [-Ccu] -s string1
tr [-Ccu] -ds string1 string2
vermaden said:1.1 / 2010-01-15 / simplified PATH
+fixit# setenv PATH /mnt2/rescue:/mnt2/usr/bin
-fixit# setenv PATH /mnt2/bin:/mnt2/sbin:/mnt2/usr/bin:/mnt2/usr/sbin
vermaden said:So tell me HOW you will be able to umount /NEWROOT/var if its not mounted there?
You have now both basefs and basefa (typo propably), a mess in setup, start all over again as killasmurf86 suggests.
You know what FORUMS is mate?
A place where anyone responds WHEN HE/SHE HAS TIME FOR IT, not immediately as someone screams, please faster I do not want to wait, I am not nailed to the chair and this is not my job to respond here to people who does not even understand what they try to do.
vermaden said:I will verify that for amd64 in free time.
fixit# /mnt2/usr/bin/tr
usage: tr [-Ccsu] string1 string2
tr [-Ccu] -d string1
tr [-Ccu] -s string1
tr [-Ccu] -ds string1 string2
mfaridi said:I do dd but I have that problem again and can not umount /NEWROOT/var
vermaden said:So tell me HOW you will be able to umount /NEWROOT/var if its not mounted there?
vermaden said:Are you deaf?