WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: moving home/tc (ramfs) to the /dev/sda1 home  (Read 5572 times)

Offline argos3016

  • Newbie
  • *
  • Posts: 9
moving home/tc (ramfs) to the /dev/sda1 home
« on: February 14, 2010, 07:58:26 PM »
How TCL can "move" the ram home (because home is in the ram) to the home hard disk(/dev/sda1)?
Something about  home=hdXY and boot options? I  have to put  home=hdXY in menu.lst of grub? I don't understand that. ???
Thanks
« Last Edit: February 14, 2010, 08:02:37 PM by argos3016 »

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: moving home/tc (ramfs) to the /dev/sda1 home
« Reply #1 on: February 14, 2010, 08:11:09 PM »
You have to first install TC on a bootable device.
Then you can edit the boot options.

Offline argos3016

  • Newbie
  • *
  • Posts: 9
Re: moving home/tc (ramfs) to the /dev/sda1 home
« Reply #2 on: February 14, 2010, 08:21:40 PM »
Yes! I have already installed on the hard disk! I only have to make a home/tc dir in the hd and modify the menu.lst of grub(but putting where the boot option)?

Offline Guy

  • Hero Member
  • *****
  • Posts: 1089
Re: moving home/tc (ramfs) to the /dev/sda1 home
« Reply #3 on: February 14, 2010, 08:45:54 PM »
/boot/grub/menu.lst

default 0
timeout 5

title   Tiny Core
root   (hd0,0)
kernel   /boot/bzImage quiet tce=sda1 home=sda1 opt=sda1 max_loop=256
initrd   /boot/tinycore.gz
Many people see what is. Some people see what can be, and make a difference.

Offline argos3016

  • Newbie
  • *
  • Posts: 9
Re: moving home/tc (ramfs) to the /dev/sda1 home
« Reply #4 on: February 14, 2010, 09:01:31 PM »
Thank you!! But now, how to NOT backup at the startup? "norestore"?
« Last Edit: February 14, 2010, 09:03:12 PM by argos3016 »

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: moving home/tc (ramfs) to the /dev/sda1 home
« Reply #5 on: February 14, 2010, 09:03:37 PM »
You either have home on the drive or you don't.
You can't have it both ways.

Offline argos3016

  • Newbie
  • *
  • Posts: 9
Re: moving home/tc (ramfs) to the /dev/sda1 home
« Reply #6 on: February 14, 2010, 09:05:34 PM »
NOW WORKS WITH norestore BOOT OPTION!!!!
@gerard_clark: Yes, but seems that when init process start , by default restores the mydata.tgz file (maybe a bu*)
« Last Edit: February 14, 2010, 09:07:37 PM by argos3016 »

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: moving home/tc (ramfs) to the /dev/sda1 home
« Reply #7 on: February 14, 2010, 09:09:17 PM »
Remove 'home/tc' from /opt/.filetool.lst

Offline argos3016

  • Newbie
  • *
  • Posts: 9
Re: moving home/tc (ramfs) to the /dev/sda1 home
« Reply #8 on: February 14, 2010, 09:10:24 PM »
Then will not be necessary to put norestore in grub? OK
Works! Thanks to all! ;D

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: moving home/tc (ramfs) to the /dev/sda1 home
« Reply #9 on: February 14, 2010, 09:12:33 PM »
You don't want norestore because then it will not restore /opt or anything else.

Offline Guy

  • Hero Member
  • *****
  • Posts: 1089
Re: moving home/tc (ramfs) to the /dev/sda1 home
« Reply #10 on: February 14, 2010, 09:24:14 PM »
I prefer to use

tce=sda1 home=sda1 opt=sda1 norestore

and not use backup. I think this is the best way to run Tiny Core on a hard drive.

I make new extensions for anything I want to save not in home, opt, or tce, such as printer setup.
Many people see what is. Some people see what can be, and make a difference.

Offline argos3016

  • Newbie
  • *
  • Posts: 9
Re: moving home/tc (ramfs) to the /dev/sda1 home
« Reply #11 on: February 15, 2010, 10:00:20 AM »
maybe is a silly question, but is possible to do the same with the rootfs?

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: moving home/tc (ramfs) to the /dev/sda1 home
« Reply #12 on: February 15, 2010, 10:16:56 AM »
Scatter install is possible, but not recommended. Do a forum search if you wish to try such.
The only barriers that can stop you are the ones you create yourself.