LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-07-2017, 11:40 PM   #1
vishnusangam
LQ Newbie
 
Registered: Feb 2017
Posts: 1

Rep: Reputation: Disabled
Is there any way to block some partition unaffected


I am working on some application where i need save some system state configuration files related to my application. So i want to save(Backup) it some where in the hard disk partition(as hidden or recovery partition) Whenever system crashes i can restore it. When System Crashes is it possible not to touch that partition while re-installing linux suse(or any other OS) and the files are still be available when the system is ready. When system Crashes or system re-install or OS change or some disaster happens the partition should not be affected.

And wanted know about reinstalling linux without affecting previous partitioning.

Last edited by vishnusangam; 02-07-2017 at 11:43 PM.
 
Old 02-08-2017, 12:45 AM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175
Welcome to LQ-

Quote:
When System Crashes is it possible not to touch that partition while re-installing linux suse(or any other OS)
Yes by completely avoiding that partition during the fresh install.
Just make sure that you partition accordingly for your fresh install and 'not delete' it by accident.

Once your fresh installation is complete and you reboot you should be able to access it.
You can use the mount command.
https://www.lifewire.com/uses-of-lin...-mount-2201110

If you have another os installed on your machine write down those partitions so you don't delete them.
 
1 members found this post helpful.
Old 02-09-2017, 07:50 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 23,960

Rep: Reputation: 7030Reputation: 7030Reputation: 7030Reputation: 7030Reputation: 7030Reputation: 7030Reputation: 7030Reputation: 7030Reputation: 7030Reputation: 7030Reputation: 7030
Quote:
Originally Posted by vishnusangam View Post
I am working on some application where i need save some system state configuration files related to my application. So i want to save(Backup) it some where in the hard disk partition(as hidden or recovery partition) Whenever system crashes i can restore it. When System Crashes is it possible not to touch that partition while re-installing linux suse(or any other OS) and the files are still be available when the system is ready. When system Crashes or system re-install or OS change or some disaster happens the partition should not be affected.

And wanted know about reinstalling linux without affecting previous partitioning.
Since you don't tell us what this "some application" is, what version/distro of Linux, how you plan on doing the restoration (automatic? Manual?), what you mean by "system crash" (hard drive failure? Or just a process crash?), etc., there's not a lot we can tell you. Read the 'Question Guidelines' link in my posting signature.

It's trivial to not format a partition when you're doing a fresh install...just don't format/mount/touch it. But we don't know if you're kickstarting a machine, and having it load automatically, recovering from a BMR image from some backup system, or copying a new VM image. We can't guess.
 
1 members found this post helpful.
Old 02-13-2017, 01:43 AM   #4
mrmazda
Senior Member
 
Registered: Aug 2016
Location: USA
Distribution: openSUSE, Debian, Knoppix, Mageia, Fedora, others
Posts: 3,357
Blog Entries: 1

Rep: Reputation: 1132Reputation: 1132Reputation: 1132Reputation: 1132Reputation: 1132Reputation: 1132Reputation: 1132Reputation: 1132Reputation: 1132
If you get into the habit of planning and doing all your partitioning in advance of installing any operating system, then during installation all that's necessary is to specify which partition(s) to mount where, whether or not to use RAID or LVM, and whether or not to format. Nothing need be lost on account of a new installation unless you choose for it to be so.
 
1 members found this post helpful.
Old 02-13-2017, 09:32 PM   #5
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175Reputation: 1175
vishnusangam:

Have you been able to make progress with partitioning?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I find 'find last used block + 1' on a reiser4 partition and truncate it so I can use spare space for another partition type. ? Glenn D. Linux - Software 12 09-06-2016 08:36 AM
LXer: Transmission torrenting app compromised in OS X, Linux users unaffected LXer Syndicated Linux News 0 03-07-2016 07:01 PM
Random freezes requiring power cycle, Win7 unaffected fredstevens SUSE / openSUSE 2 08-06-2014 10:47 PM
LXer: SA unaffected by patent threats LXer Syndicated Linux News 0 05-17-2007 02:02 PM
Block size of partition salmanucit Red Hat 4 04-10-2007 05:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:03 PM.

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