Tiny Core Base > Micro Core

Serail Console

<< < (2/2)

Rich:
Hi myfree.1
You need to modify the initrd (core.gz) for this.
First unpack it:

--- Code: ---tc@E310:~/core$ mkdir initrd
tc@E310:~/core$ cd initrd/
tc@E310:~/core/initrd$ zcat /mnt/sda1/boot/core.gz | sudo cpio -i
26057 blocks
tc@E310:~/core/initrd$ cd etc/
tc@E310:~/core/initrd/etc$
--- End code ---

Make your changes to  inittab.

Now pack it up to a new name so you know it's a modified version:

--- Code: ---tc@E310:~/core/initrd/etc$ cd ..
tc@E310:~/core/initrd$ sudo find . | sudo cpio -o -H newc | gzip > ../newcore.gz
tc@E310:~/core/initrd$ cd ..
tc@E310:~/core$ ls -l
total 9064
drwxr-sr-x 17 tc staff    4096 May 19 16:15 initrd/
-rw-r--r--  1 tc staff 9275687 May 19 16:15 newcore.gz
tc@E310:~/core$
--- End code ---

Copy  newcore.gz  where grub can find it and create a new grub entry for it.

Ali Demir:
Thanks, it worked.  :)

Rich:
Hi myfree.1
You are welcome. Thank you for reporting your success.

Navigation

[0] Message Index

[*] Previous page

Go to full version