Let CentOS 7 on live-USB won't reset to default settings after reboot












0














I've downloaded the LiveGNOME iso for CentOS 7 and use rufus to make CentOS 7 Live-USB that I can boot a Centos 7 with it.



But after I boot it I've set up some settings, then I shut down it, later I boot it again, and I found out **all the settings and data are reset ** I can't believe it, so I redo the settings and chose restart option, but surprisingly, it resets again.



I've tried to found document with the keyword centos 7 live-usb save settings but I can found nothing, only thing I found is with the same case but on Ubuntu you can use persistence mode (even I don't know what is it) but can't figure or found documents that tells you how to do it on CentOS 7.



So how can I let the CentOS 7 on my USB (it's installed on USB, not iso on USB to install centos on PC) save settings and documents I saved on it, and does not reset when it's reboot?










share|improve this question
















bumped to the homepage by Community 1 hour ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.











  • 1




    The "live" media is designed to not have persistent changes across boots. If you want changes to be persistent, you will need to install the "full" version on the USB stick.
    – Raman Sailopal
    Dec 21 '17 at 12:57










  • @RamanSailopal then if I install full version should I just drop the iso on USB or still use Rufus and will it has to option to boot on it instead of installing to PC?
    – Andrew-at-TW
    Dec 21 '17 at 14:01










  • If you run off a live CD for example and then plug in the USB, you should be able to install to the USB.
    – Raman Sailopal
    Dec 21 '17 at 14:20










  • How? I've tried to put the everything iso into USB with Rufus but after booting on it it shows installing CentOS which I think it'll install to PC instead of the start CentOS view which I've seen on LiveGNOME iso
    – Andrew-at-TW
    Dec 21 '17 at 16:12
















0














I've downloaded the LiveGNOME iso for CentOS 7 and use rufus to make CentOS 7 Live-USB that I can boot a Centos 7 with it.



But after I boot it I've set up some settings, then I shut down it, later I boot it again, and I found out **all the settings and data are reset ** I can't believe it, so I redo the settings and chose restart option, but surprisingly, it resets again.



I've tried to found document with the keyword centos 7 live-usb save settings but I can found nothing, only thing I found is with the same case but on Ubuntu you can use persistence mode (even I don't know what is it) but can't figure or found documents that tells you how to do it on CentOS 7.



So how can I let the CentOS 7 on my USB (it's installed on USB, not iso on USB to install centos on PC) save settings and documents I saved on it, and does not reset when it's reboot?










share|improve this question
















bumped to the homepage by Community 1 hour ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.











  • 1




    The "live" media is designed to not have persistent changes across boots. If you want changes to be persistent, you will need to install the "full" version on the USB stick.
    – Raman Sailopal
    Dec 21 '17 at 12:57










  • @RamanSailopal then if I install full version should I just drop the iso on USB or still use Rufus and will it has to option to boot on it instead of installing to PC?
    – Andrew-at-TW
    Dec 21 '17 at 14:01










  • If you run off a live CD for example and then plug in the USB, you should be able to install to the USB.
    – Raman Sailopal
    Dec 21 '17 at 14:20










  • How? I've tried to put the everything iso into USB with Rufus but after booting on it it shows installing CentOS which I think it'll install to PC instead of the start CentOS view which I've seen on LiveGNOME iso
    – Andrew-at-TW
    Dec 21 '17 at 16:12














0












0








0







I've downloaded the LiveGNOME iso for CentOS 7 and use rufus to make CentOS 7 Live-USB that I can boot a Centos 7 with it.



But after I boot it I've set up some settings, then I shut down it, later I boot it again, and I found out **all the settings and data are reset ** I can't believe it, so I redo the settings and chose restart option, but surprisingly, it resets again.



I've tried to found document with the keyword centos 7 live-usb save settings but I can found nothing, only thing I found is with the same case but on Ubuntu you can use persistence mode (even I don't know what is it) but can't figure or found documents that tells you how to do it on CentOS 7.



So how can I let the CentOS 7 on my USB (it's installed on USB, not iso on USB to install centos on PC) save settings and documents I saved on it, and does not reset when it's reboot?










share|improve this question















I've downloaded the LiveGNOME iso for CentOS 7 and use rufus to make CentOS 7 Live-USB that I can boot a Centos 7 with it.



But after I boot it I've set up some settings, then I shut down it, later I boot it again, and I found out **all the settings and data are reset ** I can't believe it, so I redo the settings and chose restart option, but surprisingly, it resets again.



I've tried to found document with the keyword centos 7 live-usb save settings but I can found nothing, only thing I found is with the same case but on Ubuntu you can use persistence mode (even I don't know what is it) but can't figure or found documents that tells you how to do it on CentOS 7.



So how can I let the CentOS 7 on my USB (it's installed on USB, not iso on USB to install centos on PC) save settings and documents I saved on it, and does not reset when it's reboot?







centos live-usb persistence






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 21 '17 at 14:26









Videonauth

1,036718




1,036718










asked Dec 21 '17 at 12:49









Andrew-at-TWAndrew-at-TW

75111




75111





bumped to the homepage by Community 1 hour ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 1 hour ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.










  • 1




    The "live" media is designed to not have persistent changes across boots. If you want changes to be persistent, you will need to install the "full" version on the USB stick.
    – Raman Sailopal
    Dec 21 '17 at 12:57










  • @RamanSailopal then if I install full version should I just drop the iso on USB or still use Rufus and will it has to option to boot on it instead of installing to PC?
    – Andrew-at-TW
    Dec 21 '17 at 14:01










  • If you run off a live CD for example and then plug in the USB, you should be able to install to the USB.
    – Raman Sailopal
    Dec 21 '17 at 14:20










  • How? I've tried to put the everything iso into USB with Rufus but after booting on it it shows installing CentOS which I think it'll install to PC instead of the start CentOS view which I've seen on LiveGNOME iso
    – Andrew-at-TW
    Dec 21 '17 at 16:12














  • 1




    The "live" media is designed to not have persistent changes across boots. If you want changes to be persistent, you will need to install the "full" version on the USB stick.
    – Raman Sailopal
    Dec 21 '17 at 12:57










  • @RamanSailopal then if I install full version should I just drop the iso on USB or still use Rufus and will it has to option to boot on it instead of installing to PC?
    – Andrew-at-TW
    Dec 21 '17 at 14:01










  • If you run off a live CD for example and then plug in the USB, you should be able to install to the USB.
    – Raman Sailopal
    Dec 21 '17 at 14:20










  • How? I've tried to put the everything iso into USB with Rufus but after booting on it it shows installing CentOS which I think it'll install to PC instead of the start CentOS view which I've seen on LiveGNOME iso
    – Andrew-at-TW
    Dec 21 '17 at 16:12








1




1




The "live" media is designed to not have persistent changes across boots. If you want changes to be persistent, you will need to install the "full" version on the USB stick.
– Raman Sailopal
Dec 21 '17 at 12:57




The "live" media is designed to not have persistent changes across boots. If you want changes to be persistent, you will need to install the "full" version on the USB stick.
– Raman Sailopal
Dec 21 '17 at 12:57












@RamanSailopal then if I install full version should I just drop the iso on USB or still use Rufus and will it has to option to boot on it instead of installing to PC?
– Andrew-at-TW
Dec 21 '17 at 14:01




@RamanSailopal then if I install full version should I just drop the iso on USB or still use Rufus and will it has to option to boot on it instead of installing to PC?
– Andrew-at-TW
Dec 21 '17 at 14:01












If you run off a live CD for example and then plug in the USB, you should be able to install to the USB.
– Raman Sailopal
Dec 21 '17 at 14:20




If you run off a live CD for example and then plug in the USB, you should be able to install to the USB.
– Raman Sailopal
Dec 21 '17 at 14:20












How? I've tried to put the everything iso into USB with Rufus but after booting on it it shows installing CentOS which I think it'll install to PC instead of the start CentOS view which I've seen on LiveGNOME iso
– Andrew-at-TW
Dec 21 '17 at 16:12




How? I've tried to put the everything iso into USB with Rufus but after booting on it it shows installing CentOS which I think it'll install to PC instead of the start CentOS view which I've seen on LiveGNOME iso
– Andrew-at-TW
Dec 21 '17 at 16:12










1 Answer
1






active

oldest

votes


















0














I could suggest you making a bootable usb with persistent storage as compared to what you trying to achieve here.



This of course allow to start a PC with Centos and even you can save whatever your doing there. Once it reboots, yes you will have that worked files after all.




  1. first login to a Centos install pc.


  2. Lets install required packages;




    • # yum install -y epel-release


    • # yum install livecd-tools syslinux





  3. Insert the USB thumb & mark its partition as bootable(replace the X with your usb);




    # parted /dev/sdX



    [parted] toggle 1 boot



    [parted] quit





  4. Now you can create your Centos bootable usb with persistent storage




    • # livecd-iso-to-disk --home-size-mb 500 CentOS-7.0-x64_84-LiveCD.iso /dev/sdX1




Thats it.. Now you can use the usb and run it with installed Centos version with persistant storage.






share|improve this answer





















  • Can the following process works? Boot with live-USB (which will reset) -> run the commands -> install centos 7 (which won't reset) to another USB?
    – Andrew-at-TW
    Dec 22 '17 at 14:16












  • No, it won't work. If you boot Live-usb, yet it is a non-persistent storage, so you can install permanent Centos there. Above, what my solution is create the same Live-USB with "persistent storage"
    – krs4keshara
    Dec 23 '17 at 1:24












  • so I must either use VM or a CentOS installed on PC in order to use above step to create a live-USB that won't reset right?
    – Andrew-at-TW
    Dec 24 '17 at 5:04










  • yes, you got to do it
    – krs4keshara
    Dec 24 '17 at 10:40










  • But it seems the centos can't found the USB, I'm running centos on VM, while my USB has 128GB storage and was formatted in exFAT, I don't know why everytime I plug it in While in the VM tab, the windows get to read it first, and centos can't read it? How can this be solved?
    – Andrew-at-TW
    Dec 28 '17 at 15:55











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f412255%2flet-centos-7-on-live-usb-wont-reset-to-default-settings-after-reboot%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














I could suggest you making a bootable usb with persistent storage as compared to what you trying to achieve here.



This of course allow to start a PC with Centos and even you can save whatever your doing there. Once it reboots, yes you will have that worked files after all.




  1. first login to a Centos install pc.


  2. Lets install required packages;




    • # yum install -y epel-release


    • # yum install livecd-tools syslinux





  3. Insert the USB thumb & mark its partition as bootable(replace the X with your usb);




    # parted /dev/sdX



    [parted] toggle 1 boot



    [parted] quit





  4. Now you can create your Centos bootable usb with persistent storage




    • # livecd-iso-to-disk --home-size-mb 500 CentOS-7.0-x64_84-LiveCD.iso /dev/sdX1




Thats it.. Now you can use the usb and run it with installed Centos version with persistant storage.






share|improve this answer





















  • Can the following process works? Boot with live-USB (which will reset) -> run the commands -> install centos 7 (which won't reset) to another USB?
    – Andrew-at-TW
    Dec 22 '17 at 14:16












  • No, it won't work. If you boot Live-usb, yet it is a non-persistent storage, so you can install permanent Centos there. Above, what my solution is create the same Live-USB with "persistent storage"
    – krs4keshara
    Dec 23 '17 at 1:24












  • so I must either use VM or a CentOS installed on PC in order to use above step to create a live-USB that won't reset right?
    – Andrew-at-TW
    Dec 24 '17 at 5:04










  • yes, you got to do it
    – krs4keshara
    Dec 24 '17 at 10:40










  • But it seems the centos can't found the USB, I'm running centos on VM, while my USB has 128GB storage and was formatted in exFAT, I don't know why everytime I plug it in While in the VM tab, the windows get to read it first, and centos can't read it? How can this be solved?
    – Andrew-at-TW
    Dec 28 '17 at 15:55
















0














I could suggest you making a bootable usb with persistent storage as compared to what you trying to achieve here.



This of course allow to start a PC with Centos and even you can save whatever your doing there. Once it reboots, yes you will have that worked files after all.




  1. first login to a Centos install pc.


  2. Lets install required packages;




    • # yum install -y epel-release


    • # yum install livecd-tools syslinux





  3. Insert the USB thumb & mark its partition as bootable(replace the X with your usb);




    # parted /dev/sdX



    [parted] toggle 1 boot



    [parted] quit





  4. Now you can create your Centos bootable usb with persistent storage




    • # livecd-iso-to-disk --home-size-mb 500 CentOS-7.0-x64_84-LiveCD.iso /dev/sdX1




Thats it.. Now you can use the usb and run it with installed Centos version with persistant storage.






share|improve this answer





















  • Can the following process works? Boot with live-USB (which will reset) -> run the commands -> install centos 7 (which won't reset) to another USB?
    – Andrew-at-TW
    Dec 22 '17 at 14:16












  • No, it won't work. If you boot Live-usb, yet it is a non-persistent storage, so you can install permanent Centos there. Above, what my solution is create the same Live-USB with "persistent storage"
    – krs4keshara
    Dec 23 '17 at 1:24












  • so I must either use VM or a CentOS installed on PC in order to use above step to create a live-USB that won't reset right?
    – Andrew-at-TW
    Dec 24 '17 at 5:04










  • yes, you got to do it
    – krs4keshara
    Dec 24 '17 at 10:40










  • But it seems the centos can't found the USB, I'm running centos on VM, while my USB has 128GB storage and was formatted in exFAT, I don't know why everytime I plug it in While in the VM tab, the windows get to read it first, and centos can't read it? How can this be solved?
    – Andrew-at-TW
    Dec 28 '17 at 15:55














0












0








0






I could suggest you making a bootable usb with persistent storage as compared to what you trying to achieve here.



This of course allow to start a PC with Centos and even you can save whatever your doing there. Once it reboots, yes you will have that worked files after all.




  1. first login to a Centos install pc.


  2. Lets install required packages;




    • # yum install -y epel-release


    • # yum install livecd-tools syslinux





  3. Insert the USB thumb & mark its partition as bootable(replace the X with your usb);




    # parted /dev/sdX



    [parted] toggle 1 boot



    [parted] quit





  4. Now you can create your Centos bootable usb with persistent storage




    • # livecd-iso-to-disk --home-size-mb 500 CentOS-7.0-x64_84-LiveCD.iso /dev/sdX1




Thats it.. Now you can use the usb and run it with installed Centos version with persistant storage.






share|improve this answer












I could suggest you making a bootable usb with persistent storage as compared to what you trying to achieve here.



This of course allow to start a PC with Centos and even you can save whatever your doing there. Once it reboots, yes you will have that worked files after all.




  1. first login to a Centos install pc.


  2. Lets install required packages;




    • # yum install -y epel-release


    • # yum install livecd-tools syslinux





  3. Insert the USB thumb & mark its partition as bootable(replace the X with your usb);




    # parted /dev/sdX



    [parted] toggle 1 boot



    [parted] quit





  4. Now you can create your Centos bootable usb with persistent storage




    • # livecd-iso-to-disk --home-size-mb 500 CentOS-7.0-x64_84-LiveCD.iso /dev/sdX1




Thats it.. Now you can use the usb and run it with installed Centos version with persistant storage.







share|improve this answer












share|improve this answer



share|improve this answer










answered Dec 21 '17 at 16:48









krs4kesharakrs4keshara

62311




62311












  • Can the following process works? Boot with live-USB (which will reset) -> run the commands -> install centos 7 (which won't reset) to another USB?
    – Andrew-at-TW
    Dec 22 '17 at 14:16












  • No, it won't work. If you boot Live-usb, yet it is a non-persistent storage, so you can install permanent Centos there. Above, what my solution is create the same Live-USB with "persistent storage"
    – krs4keshara
    Dec 23 '17 at 1:24












  • so I must either use VM or a CentOS installed on PC in order to use above step to create a live-USB that won't reset right?
    – Andrew-at-TW
    Dec 24 '17 at 5:04










  • yes, you got to do it
    – krs4keshara
    Dec 24 '17 at 10:40










  • But it seems the centos can't found the USB, I'm running centos on VM, while my USB has 128GB storage and was formatted in exFAT, I don't know why everytime I plug it in While in the VM tab, the windows get to read it first, and centos can't read it? How can this be solved?
    – Andrew-at-TW
    Dec 28 '17 at 15:55


















  • Can the following process works? Boot with live-USB (which will reset) -> run the commands -> install centos 7 (which won't reset) to another USB?
    – Andrew-at-TW
    Dec 22 '17 at 14:16












  • No, it won't work. If you boot Live-usb, yet it is a non-persistent storage, so you can install permanent Centos there. Above, what my solution is create the same Live-USB with "persistent storage"
    – krs4keshara
    Dec 23 '17 at 1:24












  • so I must either use VM or a CentOS installed on PC in order to use above step to create a live-USB that won't reset right?
    – Andrew-at-TW
    Dec 24 '17 at 5:04










  • yes, you got to do it
    – krs4keshara
    Dec 24 '17 at 10:40










  • But it seems the centos can't found the USB, I'm running centos on VM, while my USB has 128GB storage and was formatted in exFAT, I don't know why everytime I plug it in While in the VM tab, the windows get to read it first, and centos can't read it? How can this be solved?
    – Andrew-at-TW
    Dec 28 '17 at 15:55
















Can the following process works? Boot with live-USB (which will reset) -> run the commands -> install centos 7 (which won't reset) to another USB?
– Andrew-at-TW
Dec 22 '17 at 14:16






Can the following process works? Boot with live-USB (which will reset) -> run the commands -> install centos 7 (which won't reset) to another USB?
– Andrew-at-TW
Dec 22 '17 at 14:16














No, it won't work. If you boot Live-usb, yet it is a non-persistent storage, so you can install permanent Centos there. Above, what my solution is create the same Live-USB with "persistent storage"
– krs4keshara
Dec 23 '17 at 1:24






No, it won't work. If you boot Live-usb, yet it is a non-persistent storage, so you can install permanent Centos there. Above, what my solution is create the same Live-USB with "persistent storage"
– krs4keshara
Dec 23 '17 at 1:24














so I must either use VM or a CentOS installed on PC in order to use above step to create a live-USB that won't reset right?
– Andrew-at-TW
Dec 24 '17 at 5:04




so I must either use VM or a CentOS installed on PC in order to use above step to create a live-USB that won't reset right?
– Andrew-at-TW
Dec 24 '17 at 5:04












yes, you got to do it
– krs4keshara
Dec 24 '17 at 10:40




yes, you got to do it
– krs4keshara
Dec 24 '17 at 10:40












But it seems the centos can't found the USB, I'm running centos on VM, while my USB has 128GB storage and was formatted in exFAT, I don't know why everytime I plug it in While in the VM tab, the windows get to read it first, and centos can't read it? How can this be solved?
– Andrew-at-TW
Dec 28 '17 at 15:55




But it seems the centos can't found the USB, I'm running centos on VM, while my USB has 128GB storage and was formatted in exFAT, I don't know why everytime I plug it in While in the VM tab, the windows get to read it first, and centos can't read it? How can this be solved?
– Andrew-at-TW
Dec 28 '17 at 15:55


















draft saved

draft discarded




















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f412255%2flet-centos-7-on-live-usb-wont-reset-to-default-settings-after-reboot%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Entries order in /etc/network/interfaces

新発田市

Grub takes very long (several minutes) to open Menu (in Multi-Boot-System)