LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-20-2006, 01:17 PM   #1
rjl860
LQ Newbie
 
Registered: Apr 2006
Posts: 3

Rep: Reputation: 0
Post TIP for Dual OS Users


An issue that is either sought, ignored, subdued, or neglected is realizing if there is partition access from one OS to another, especailly if it is something like access to Linux from Windows. This was attempted in limited fashion with such programs as 'explore2fs' and possible some others, but it only allowed read permission and was otherwise regarded as "volatile". It also doesn't quite work anymore when going on to newer versions of Windows, such as XP.

When searching for the premise of this issue the exclaim was raised: "Why is there any access from one OS to the other - it only causes volatility and violates security and privacy.

For those seeking a practical answer to this issue, however, it can be discovered that probably the only practical reason to access another OS is to retrieve information off the Desktop (such as a download), or as in Linux, the Home directory (such as /root).

A handy script could then copy the contents of the Desktop (or /$HOME) to a folder on your share partition (a partition that all operating systems have access to) in automatic fashion such as when rebooting. A script could appear as follows:

cp -r -u /root/Desktop /mnt/share
reboot

I call this script 'xboot'. When shutting down Linux, just substitute 'poweroff -h' for 'reboot' and call it something like 'xoff'.

This handy tip may put an end to a confusing implication of partition access among various operating systems, and offer a better solution than volatile Beta programs or trying to set up a service like SAMBA (too much of a jungle !)
 
Old 07-20-2006, 01:35 PM   #2
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
If you want to give a good tip, elaborate about how to make an init script, exporting all homes (except secret keys, surely, and exclude mailboxes also) to fat partition. What you offer is suitable only in limited cases.
 
Old 07-21-2006, 07:08 AM   #3
rjl860
LQ Newbie
 
Registered: Apr 2006
Posts: 3

Original Poster
Rep: Reputation: 0
It's best to do the export at reboot, before it's too late. My $HOME stands for all home directories, whatever you work in. Details of the script I left up to you; I meant only to convey the idea here. Details will very, somewhat, depending on your Linux brand/version. (It's always the version).
 
Old 07-21-2006, 07:35 AM   #4
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
1. Surely there are init scripts, linked from /etc/rc.d/rc6.d usually, that run on reboot.. Not to mention rc0.d and shutdown. And surely I always try to put every-reboot functionality there. So I don't have to run exactly xboot - I can use init 6 or even ctl-alt-bspace ctl-alt-del.
2. Looks like you are running under root most of the time on desktop machine and even don't hide it. Shame of you!
3. Sometimes there are more users. In this case you would better check you do not export something secret to a world-readable place.
 
Old 07-21-2006, 12:41 PM   #5
rjl860
LQ Newbie
 
Registered: Apr 2006
Posts: 3

Original Poster
Rep: Reputation: 0
In 1) it sounds like a good idea using the init scripts for reboot and shutdown as long as you can get by a file corrupt. Then you can still use 'reboot' command, if that's what you like.


I suppose the whole obstacle is overcome if you install Linux to an NTFS partition, but this may cause a headlong project. Some do this, however, but I'm not sure what their result has been. (They're too tired and not available for questioning).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
TIP: Installing for Dual-booting with XP longtex Linux - Newbie 9 10-10-2005 10:24 AM
Tip for users installing with CD's -use Multiple devices 1kyle SUSE / openSUSE 3 10-09-2005 02:37 PM
Dual Users lilcap Linux - General 6 07-10-2003 04:03 PM
Dual Users lilcap Linux - Newbie 1 07-10-2003 10:16 AM
Dual Users lilcap Linux - Hardware 1 07-10-2003 10:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration