| | 21 | On our card, or usb-stick we have file '''/boot/mfsroot.gz'''. Shortly saying, It's GZipped file '''mfsroot ''' - file with UFS file system. [[BR]] |
| | 22 | I unGZipped it, then '''mdconfig -af mfsroot''' and '''mount /dev/md0 ~/localmfs'''[[BR]] |
| | 23 | Well, I looked at '''~/localmfs/etc/rc''' and found there this:[[BR]] |
| | 24 | |
| | 25 | {{{ |
| | 26 | CDDEV="" |
| | 27 | CDDEVS="/dev/acd0 |
| | 28 | /dev/acd1 |
| | 29 | /dev/acd2 |
| | 30 | /dev/cd0 |
| | 31 | /dev/cd1 |
| | 32 | /dev/cd2" |
| | 33 | |
| | 34 | for i in $CDDEVS |
| | 35 | do |
| | 36 | # Find the CD Device |
| | 37 | /sbin/mount_cd9660 $i /mnt >/dev/null 2>/dev/null |
| | 38 | if [ -e "/mnt/uzip/usr.uzip" ] |
| | 39 | then |
| | 40 | FOUND=1 |
| | 41 | CDDEV="$i" |
| | 42 | break |
| | 43 | else |
| | 44 | /sbin/umount /mnt >/dev/null 2>/dev/null |
| | 45 | fi |
| | 46 | done |
| | 47 | |
| | 48 | }}} |
| | 49 | |
| | 50 | I changed it to: |
| | 51 | |
| | 52 | |
| | 53 | {{{ |
| | 54 | CDDEV="" |
| | 55 | CDDEVS="/dev/da0 |
| | 56 | /dev/da0s1 |
| | 57 | /dev/da0s1a |
| | 58 | /dev/da1 |
| | 59 | /dev/da1s1 |
| | 60 | /dev/da1s1a |
| | 61 | /dev/da2 |
| | 62 | /dev/da2s1 |
| | 63 | /dev/da2s1a |
| | 64 | /dev/da3 |
| | 65 | /dev/da3s1 |
| | 66 | /dev/da3s1a |
| | 67 | /dev/da4 |
| | 68 | /dev/da4s1 |
| | 69 | /dev/da4s1a |
| | 70 | /dev/da5 |
| | 71 | /dev/da5s1 |
| | 72 | /dev/da5s1a" |
| | 73 | |
| | 74 | for i in $CDDEVS |
| | 75 | do |
| | 76 | # Find the CD Device |
| | 77 | /sbin/mount_msdosfs $i /mnt >/dev/null 2>/dev/null |
| | 78 | if [ -e "/mnt/uzip/usr.uzip" ] |
| | 79 | then |
| | 80 | FOUND=1 |
| | 81 | CDDEV="$i" |
| | 82 | break |
| | 83 | else |
| | 84 | /sbin/umount /mnt >/dev/null 2>/dev/null |
| | 85 | fi |
| | 86 | done |
| | 87 | |
| | 88 | }}} |
| | 89 | |
| | 90 | ''Actually we can not replace CD mount, but append after first block second one, later in PCBSD scripts'' |
| | 91 | |
| | 92 | Well, is this helps? Yes, now I booted again and see PCBSD installation system! :)[[BR]] |
| | 93 | |
| | 94 | By the way, Installer have Ok-Cancel-buttons below screen, hotkey for Next is '''Alt-N'''. |
| | 95 | |
| | 96 | But I couldn't install, PCBSD itself have scripts which mounts CD, and fails, because our card is MSDOSFS, instead of CD9660. I tried to fix them, but they are placed in ISO with symlinks and UZIP-ed, so I couldn't manage it yet. |
| 28 | | 6. Final Post "we have now usb-PCBSD bootable version" |
| | 104 | {{{ |
| | 105 | #ttyv5 "/usr/libexec/getty Pc" cons25 on secure |
| | 106 | #ttyv6 "/usr/libexec/getty Pc" cons25 on secure |
| | 107 | }}} |
| | 108 | |
| | 109 | became: |
| | 110 | |
| | 111 | {{{ |
| | 112 | ttyv5 "/usr/libexec/getty root" cons25 on secure |
| | 113 | ttyv6 "/usr/libexec/getty root" cons25 on secure |
| | 114 | }}} |
| | 115 | |
| | 116 | |
| | 117 | now, after boot I have two consoles.[[BR]] |
| | 118 | |
| | 119 | In short terms, I '''fdisk'''ed and '''bsdlabel'''ed and '''newfs'''ed my external drive, then '''cd''' to the new root and '''lzma -dc /path-where-mounted-card/PCBSD.tar.lzma | tar -vpxf - ''' and extracted kernel. |
| | 120 | |
| | 121 | Reboot, chose my WD in boot menu, boot till PCBSD login. but wait, I didn't have any users here :) '''CTRL-ALT-F5''' or any of them, login as root, add user, change root password, and then back to graphics - '''CTRL-ALT-F9'''.[[BR]] |
| | 122 | |
| | 123 | Logged In, and I have PCBSD!!! Without ethernet, wi-fi, camera and suspend-resume. |
| | 124 | |
| | 125 | 4. Installing wi-fi and ethernet. |
| | 126 | |
| | 127 | Actaully it pretty explained [http://wiki.freebsd.org/AsusEee here], so I write my experience a bit later. |
| | 128 | |
| | 129 | 5. Patch files for correct install. |
| | 130 | |
| | 131 | 6. Tweaking pcbsd for normal work. |
| | 132 | |
| | 133 | The main problem is that many KDE dialogs have their '''Ok''', '''Apply''' below bottom border of screen. This is very bad :( |
| | 134 | |
| | 135 | 7. Final Post "we have now usb-PCBSD bootable version" |