Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: gtr2 on May 27, 2013, 04:00:14 AM
-
I did a search but nothing came up regarding piCore. I understand that I have to:
1. Set these 2 boot codes ( i.e home=mmcblk0p2 and opt=mmcblk0p2 )
2. Remove home and opt from /opt/.filetool.lst
3. Run: filetool.sh -b
The trouble is, I don't know where I'm supposed to enter the boot codes mentioned in 1.
-
Edit /mnt/mmcblk0p1/cmdline.txt
-
I did the following:
sudo nano /mnt/mmcblk0p1/cmdline.txt
I entered
home=mmcblk0p2 opt=mmcblk0p2
I removed home and opt from /opt/.filetool.lst and ran a backup:
filetool.sh -b
The problem is, when my RPi reboots:
1. There's a fresh .filetool.lst with only two entries: home and opt
2. The previously created cmdline.txt doesn't exist anymore.
Once again, I must have forgotten something I guess ...
-
The problem is, when my RPi reboots:
1. There's a fresh .filetool.lst with only two entries: home and opt
2. The previously created cmdline.txt doesn't exist anymore.
"Previously created cmdline.txt"? That file ALREADY exists on my setup, you should be editing it, not creating it. Did you mount the partition before trying to edit the file?
-
"Previously created cmdline.txt"? That file ALREADY exists on my setup, you should be editing it, not creating it. Did you mount the partition before trying to edit the file?
There was no cmdline.txt there so I had to create one. Isn't mmcblk0p1 automatically mounted ? I mean, this is where the operating system is, am I wrong ?
-
mmcblk0p1 is not mounted, it is not used when piCore is running.
Where is your /tce directory?
-
Alright, sorted! The only thing I had to think of was mounting mmcblk0p1 first.
The steps:
Mount mmcblk0p1
mount /dev/mmcblk0p1
Open cmdline.txt
sudo nano //dev/mmcblk0p1/cmdline.txt
Add the following
home=mmcblk0p2 opt=mmcblk0p2
Open /opt/.filetool.lst
nano /opt/.filetool.lst
Remove home and opt.
Save and exit.
Run a backup
filetool.sh -b
Reboot.
-
Do not add it to backup!
dev/mmcblk0p1/cmdline.txt
It is an ordinary file on a FAT persistent partition, used during boot before piCore started.
-
Do not add it to backup!
dev/mmcblk0p1/cmdline.txt
It is an ordinary file on a FAT persistent partition, used during boot before piCore started.
I could have sworn that I had tried to run the lot without that entry and it failed miserably. All the same, I've removed it again and everything looks mint, thanks.