Code: Select all
dd if=/dev/vcs1 of=/tmp/TTY1screen bs=1 count=9192
To format it i found best to
Code: Select all
echo -e `cat /tmp/TTY1screen | tr ' ' '·' | sed 's/···/\\\\n/g'` | sed '/^$/d' | tr '·' ' ' | sed 's/^[[:blank:]]*//g'
Code: Select all
dd if=/dev/vcs1 of=/tmp/TTY1screen bs=1 count=9192
Code: Select all
echo -e `cat /tmp/TTY1screen | tr ' ' '·' | sed 's/···/\\\\n/g'` | sed '/^$/d' | tr '·' ' ' | sed 's/^[[:blank:]]*//g'
Code: Select all
[ ! -e /dev/vcs1 ] && mknod /dev/vcs1 c 7 1
Code: Select all
[ ! -e /dev/vcs1 ] && mknod /dev/vcs1 c 7 1 && sleep 1
cat /dev/vcs1 >/tmp/vcs1.txt
echo -e "`cat /tmp/vcs1.txt |sed -e 's,\(.\{80\}\),\1\\n,g'`" >>/tmp/vcs1.txt
Code: Select all
[ 4.384260] ldm_validate_partition_table(): Disk read failed.
Making the filesystem usable...checking the device nodes ...
'sda' '8' '0'
'sda1' '8' '1'
'sda2' '8' '2'
'sda3' '8' '3'
'sda4' '8' '4'
'sda5' '8' '5'
'sda6' '8' '6'
'sda7' '8' '7'
'sda8' '8' '8'
'sda9' '8' '9'
'sda10' '8' '10'
'sda11' '8' '11'
'sdb' '8' '16'
done
Updating... done
72 Loading kernel modules... done
Loading swap partition /dev/sda5... done
Waiting for modules to complete loading... done
Loading user-selected modules... coretemp done
Setting up services (network, printing, etc.)... [backgrounded]
Recognising media devices... optical input done
Code: Select all
echo -n " Loading kernel modules..." >/dev/console
.
.
.
MODULECNT=0
.
.
echo add > ${ONEPATH}/uevent #generates an 'add' uevent.
MODULECNT=$((MODULECNT+1))
echo -en "\r$MODULECNT" >/dev/console
sleep 0.02
What is a 72 kernel ?WillHaus wrote:Nice work. Is it only for 72 kernel?
Code: Select all
cat /dev/vcs1 > /tmp/vcs1.txt
Code: Select all
dd if=/dev/vcs1 of=/tmp/vcs1.txt