tc@E310:~$ lsblk -f /dev/sda
NAME FSTYPE LABEL UUID MOUNTPOINT
sda
|-sda1 /mnt/sda1
|-sda2
|-sda3
|-sda4
|-sda5 [SWAP]
|-sda6
`-sda7tc@E310:~$ sudo lsblk -f /dev/sda
NAME FSTYPE LABEL UUID MOUNTPOINT
sda
|-sda1 ext4 TC10 543cac60-3224-4cab-b1d5-008407dd9ce8 /mnt/sda1
|-sda2 ext4 TC10_backup 22559ae7-7e12-4a3b-9efa-6f8c8a9a8a6a
|-sda3 ext4 bedfc958-a562-4225-ad9d-cf150e7cdb4e
|-sda4
|-sda5 swap Swap 81c9827f-5952-4bb2-b1b2-298be789abee [SWAP]
|-sda6 ext4 7b839431-514c-44a7-a1d3-9baeffb595e0
`-sda7 ext4 f4d4b4d3-5869-492a-bf56-25a2970dc432
UUIDs are unique for each device. ...Assuming they were created by formatting, or
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 2088959 2086912 1019M 82 Linux Swap / Solaris
/dev/sda2 2091006 14678015 12587010 6G 5 Extended
/dev/sda5 2091008 14678015 12587008 6G 83 Linux[code][ 36.176529] pcm512x 1-004d: Failed to get supply 'AVDD': -517
[ 36.176536] pcm512x 1-004d: Failed to get supplies: -517
[ 36.191753] pcm512x 1-004d: Failed to get supply 'AVDD': -517[/code]
[ 36.176529] pcm512x 1-004d: Failed to get supply 'AVDD': -517
[ 36.176536] pcm512x 1-004d: Failed to get supplies: -517
[ 36.191753] pcm512x 1-004d: Failed to get supply 'AVDD': -517... sorry I've forgotten how to insert the image directly in the text of the post.The way I do it is:
... With Lubuntu fired up, do you think it would be correct to simply make a directory called data in the uppermost directory level on the CF-card? ...If you want to do this using Lubuntu, you should probably do something like this:
mount TinycoreStorageDevice
cd TinycoreStorageDevice/home/tc/
ln -s /mnt/sda5/data data
chown 1001:50 data... before I could resize sda5, I had to expand the "extended" partition sda2 to it's largest possible size of ~ 120 GB, after doing that, it was no problem to expand sda5 as well and now I have sda5 as ~ 120 GB, so that should be good now.A DOS partition table only has space for 4 primary partitions.
nodhcp#!/bin/sh
pkill udhcpc
ifconfig eth0 172.16.1.98 netmask 255.255.255.0 broadcast 172.16.1.255 up
route add default gw 172.16.1.0
echo nameserver 172.16.1.0 > /etc/resolv.confchmod 755 /opt/eth0.sh/opt/eth0.shto bootlocal.sh.nodhcp
route: SIOCADDRT: No such process
ifconfig -a 2>&1 > network.txt
route 2>&1 >> network.txt
... Maybe I'm using the wrong gateway address? But yet I think 172.16.1.0 is correct and that's what I'm using in eth0.sh. ...I saw that in one of your previous posts, and it bothered me because
#!/bin/sh
pkill udhcpc
ifconfig eth0 10.0.0.40 netmask 255.255.255.0 broadcast 10.0.0.255 up
route add default gw 10.0.0.1
echo nameserver 10.0.0.1 > /etc/resolv.conf
... I saw that in one of your previous posts, and it bothered me becauseGuess I should have paid closer attention to my suspicion. ::)
it didn't look right. ...
route -n
route -n
route -n
... Is it normal or correct to have two entries for eth0? Now I don't know where this old entry of 172.16.1.0 is coming from. ...It seems it is. I just checked several of my machines, and they all display:
tc@E310:~$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
127.0.0.1 0.0.0.0 255.255.255.255 UH 0 0 0 lo
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
tc@E310:~$This was for TC10 x86. TC14 x86_64 and TC16 x86_64 were identical.sudo ifconfig eth0 down
sudo /opt/eth0.sh
route -nSee if Apps can now connect.#!/bin/sh
pkill udhcpc
ifconfig eth0 172.16.1.98 netmask 255.255.255.0 broadcast 172.16.1.255 up
route add default gw 172.16.1.254
echo nameserver 8.8.8.8 > /etc/resolv.conf
echo nameserver 172.16.1.254 >> /etc/resolv.confroute -n > route.txtThen you can copy/paste from a file into a post between code tags.sudo ifconfig eth0 down
sudo /opt/eth0.sh
route -n > route.txt
sudo ifconfig eth0 down
sudo /opt/eth0.sh
route -n > routev2.txt
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
127.0.0.1 0.0.0.0 255.255.255.255 UH 0 0 0 lo
172.16.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 172.16.1.254 0.0.0.0 UG 0 0 0 eth0
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
127.0.0.1 0.0.0.0 255.255.255.255 UH 0 0 0 lo
172.16.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 172.16.1.254 0.0.0.0 UG 0 0 0 eth0
tc@E310:~$ cat /opt/tcemirror
http://repo.tinycorelinux.net/
tc@E310:~$
Connection error: Check network or mirror.
tce-fetch.sh info.lst
wget: server returned error:HTTP/1.1 404 not found
cat /etc/resolv.conf
nameserver 8.8.8.8
nameserver 172.16.1.254
wget http://google.comDoes it download index.html ?getMirror
# The next command should display the URL for your repo
echo $MIRROR
wget $MIRROR/info.lstDid it download info.lst ?wget http://google.com
getMirror
echo $MIRROR
http://repo.tinycorelinux.net/3.x/tcz
wget $MIRROR/info.lst
Connecting to repo.tinycorelinux.net (128.127.66.77:80)
wget: server returned error: HTTP/1.1 404 Not Found
... The output ofWell there's your problem. You're trying to connect to the 3.xCode: [Select]getMirror
echo $MIRROR
wasCode: [Select]http://repo.tinycorelinux.net/3.x/tcz...