Changes between Version 1 and Version 2 of AsusEee


Ignore:
Timestamp:
07/03/08 01:12:50 (6 years ago)
Author:
yerenkow
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AsusEee

    v1 v2  
    19192. Patching files for USB boot. 
    2020 
     21On our card, or usb-stick we have file '''/boot/mfsroot.gz'''. Shortly saying, It's GZipped file '''mfsroot ''' - file with UFS file system. [[BR]] 
     22I unGZipped it, then '''mdconfig -af mfsroot''' and '''mount /dev/md0 ~/localmfs'''[[BR]] 
     23Well, I looked at '''~/localmfs/etc/rc''' and found there this:[[BR]] 
     24 
     25{{{ 
     26CDDEV="" 
     27CDDEVS="/dev/acd0 
     28/dev/acd1 
     29/dev/acd2 
     30/dev/cd0 
     31/dev/cd1 
     32/dev/cd2" 
     33 
     34for i in $CDDEVS 
     35do 
     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 
     46done 
     47 
     48}}} 
     49 
     50I changed it to: 
     51 
     52 
     53{{{ 
     54CDDEV="" 
     55CDDEVS="/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 
     74for i in $CDDEVS 
     75do 
     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 
     86done 
     87 
     88}}} 
     89 
     90''Actually we can not replace CD mount, but append after first block second one, later in PCBSD scripts'' 
     91 
     92Well, is this helps? Yes, now I booted again and see PCBSD installation system! :)[[BR]] 
     93 
     94By the way, Installer have Ok-Cancel-buttons below screen, hotkey for Next is '''Alt-N'''. 
     95 
     96But 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. 
    2197 
    22983. Installing manually 
    2399 
    24 4. Patch files for correct install. 
     100Okay, what to do then? edit our mfsroot'ed file '''/etc/ttys'''[[BR]] 
    25101 
    26 5. Tweaking pcbsd for normal work. 
     102Was: 
    27103 
    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 
     109became: 
     110 
     111{{{ 
     112ttyv5   "/usr/libexec/getty root"               cons25  on  secure 
     113ttyv6   "/usr/libexec/getty root"               cons25  on  secure 
     114}}} 
     115 
     116 
     117now, after boot I have two consoles.[[BR]] 
     118 
     119In 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 
     121Reboot, 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 
     123Logged In, and I have PCBSD!!! Without ethernet, wi-fi, camera and suspend-resume. 
     124 
     1254. Installing wi-fi and ethernet. 
     126 
     127Actaully it pretty explained [http://wiki.freebsd.org/AsusEee  here], so I write my experience a bit later. 
     128 
     1295. Patch files for correct install. 
     130 
     1316. Tweaking pcbsd for normal work. 
     132 
     133The main problem is that many KDE dialogs have their '''Ok''', '''Apply''' below bottom border of screen. This is very bad :(  
     134 
     1357. Final Post "we have now usb-PCBSD bootable version"  
    29136 
    30137soon I hope :)