Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: GoodGuy98 on September 30, 2011, 06:48:19 PM

Title: Problem Trying to Get Tinycore 4.0 to Use Persistence on NTFS
Post by: GoodGuy98 on September 30, 2011, 06:48:19 PM
Hello,

I already had a Puppy Linux installed on a WinXP Pro NTFS partition. The install procedure they suggested installed Grub in the Windows partition and created a menu.lst in C:\boot. The Puppy
install added an entry to the WinXP boot.ini file which starts Grub and boots the item(s) in menu.lst.

I manually created a folder for Tinycore 4.0 and copied the files from a working install in a Virtualbox copy. Next I added an entry for TinyCore 4.0 in the menu.lst. It boots ok and starts up, but I can't figure out how to make installed software persist.

The ntfs-3g.gz was extracted from the running Virtualbox Tinycore 4.0. I added that to the "initrd" based on trying to research solutions in these forums. The NTFS filesystem is still mounted
read-only.

Any help would be appreciated. I am new to TinyCore and fairly new to Linux in general.

The info below is a list of menu.lst as well as a list of the tce folder structure and files within.

# Boot menu configuration file
# Boot automatically after 10 seconds

timeout 10

# By default, boot the first entry.

default 0

  title Lucid Puppy 5.2.9 Three-Headed Dog Ver 1 (on /dev/hda1)
  root (hd0,0)
  kernel /lucid529/vmlinuz psubdir=lucid529 pkeys=us
  initrd /lucid529/initrd.gz

  title Tiny Core Linux 4.0 With Persistence (on /dev/sda1)
  root (hd0,0)
  kernel /tce/boot/vmlinuz quiet tce=sda1 noutc pause
  initrd /tce/boot/tinycore.gz /tce/boot/ntfs-3g.gz

--------------------------------------------------

C:\tce\
C:\tce\boot\
C:\tce\boot\ntfs-3g.gz
C:\tce\boot\tinycore.gz
C:\tce\boot\vmlinuz
C:\tce\optional\
Title: Re: Problem Trying to Get Tinycore 4.0 to Use Persistence on NTFS
Post by: beerstein on October 01, 2011, 04:07:10 AM
Hi: I was not able to put a /tce on a ntfs partition in TCL 3.x.x
did not know that it should work in TCL 4.0
Title: Re: Problem Trying to Get Tinycore 4.0 to Use Persistence on NTFS
Post by: roberts on October 01, 2011, 10:48:32 AM
/tce works fine on NTFS partition with 3.x
Just tested with 4.x and it is also working!

Place  ntfs-3g.gz in your boot directory alongside tinycore.gz

@GoodGuy98 from where did you extract ntfs-3g.gz? Perhaps it is the 3.x ver?
Another possibility is the change from hda to sda brought about in 4.x?
Title: Re: Problem Trying to Get Tinycore 4.0 to Use Persistence on NTFS
Post by: GoodGuy98 on October 03, 2011, 09:35:36 PM
I did put it in the same folder. I listed the files and folders information after the grub info in my initial post. The grub entries I posted are using sda1 in the Tinycore entry.

I did a google search for my problem and found a post that mentioned installing tc-grub4dos. It contained the ntfs-3g.gz file. I copied it to a USB Flash Drive as well as the tce/boot folder.

I will try extracting it again just to be sure. When I get a chance, I 'll research where I found it first.
Title: Re: Problem Trying to Get Tinycore 4.0 to Use Persistence on NTFS
Post by: GoodGuy98 on October 04, 2011, 10:16:07 AM
I booted multicore_4.0.iso in a VirtualBox new virtual machine and choose tca (all software). Once it was up in the VM, I copied the file ntfs-3g.gz from this folder:

/tmp/tcloop/tc-grub4dos/tmp/ntfs-3g.gz

I copied the file to a USB Flash Drive and copied that to the C:\tce\boot folder in my normal WinXP Pro system. The first post shows the folder and files listed below the grub config
file.

When I boot that setup, a mount command shows the /mnt/sda1 is still RO access.
Title: Re: Problem Trying to Get Tinycore 4.0 to Use Persistence on NTFS
Post by: grandma on December 10, 2011, 10:38:52 AM
Where is ntfs - a gz version?

I have

ntfs-3g.tcz
ntfs-3g-adv.tcz
ntfsprogs.tcz

Questions:

1. Do I need to load another module?

2. What changes to the GRUB MENU.LST file are required?

Mine is currently:

title TC with NTFS Support
find --set-root /tce/tinycore.gz
kernel /tce/vmlinuz quiet norestore waitusb=10 xvesa=1024x768x32
initrd /tce/tinycore.gz

3. What changes to onboot.lst are suggested?

Mine is currently:

jwm.tcz
kmaps.tcz
setproxy.tcz
Xorg-fonts.tcz
fontconfig.tcz
firefox.tcz

The objective: when system boots the C: NTFS drive is read/write automatically - no click-mount-find-hunt-pray process required - just turn it on and its there - ready to be used.

Is this possible with TC 3.x - 4.x etc.? I had read "Works fine" for several months now, so I assume I am missing something in one of the configurations above.

I had this working with Svolli's old 3.51 version - but his newer release doesn't seem to kick start this anymore.  I also have a drive G: - a hard disk partition on the same platter/physical unit - and it has backups of all of the various TC and MC versions. Perhaps the success I had before was related to TC finding what it needed there. I have disabled all menu.lst, grub and tce folders on that drive now - and simply want to pull EVERYTHING from the NTFS C: drive.

I assume this is a no brainer - small trick - poof - done.

Your assistance is greatly appreciated.

Title: Re: Problem Trying to Get Tinycore 4.0 to Use Persistence on NTFS
Post by: roberts on December 10, 2011, 11:13:52 AM
NTFS support is being deprecated. Would suggest that if Windows file systems is your only choice to consider:
http://forum.tinycorelinux.net/index.php/topic,7120.0.html (http://forum.tinycorelinux.net/index.php/topic,7120.0.html)