[Solved] Live usb swap.

Message
Author
mgp
Posts: 8
Joined: Sun Jun 30, 2019 9:20 pm

[Solved] Live usb swap.

#1 Post by mgp »

Hello everyone. I'm new to the forum so i hope i'm posting in the right category. I created an encrypted live usb of my current MX install. All went well the usb stick works great. I created the usb without swap. My problem is when i boot the live usb it searches the system hard drive for a swap partition and mounts a swap partition if it finds one. The existing swap partition on a hard drive is not encrypted which defeats the purpose of the encrypted usb. My questio0n is how do i prevent my live usb from mounting any existing swap when it boots. Thanks
Last edited by mgp on Mon Jul 01, 2019 5:16 pm, edited 1 time in total.

User avatar
fehlix
Developer
Posts: 12704
Joined: Wed Apr 11, 2018 5:09 pm

Re: Live usb swap.

#2 Post by fehlix »

mgp wrote: Mon Jul 01, 2019 9:22 am My questio0n is how do i prevent my live usb from mounting any existing swap when it boots.
You might add "noswap" boot option manually and check if that works.
:puppy:

User avatar
Adrian
Developer
Posts: 8960
Joined: Wed Jul 12, 2006 1:42 am

Re: Live usb swap.

#3 Post by Adrian »

I'm afraid that's not a valid option.

User avatar
dolphin_oracle
Developer
Posts: 22270
Joined: Sun Dec 16, 2007 12:17 pm

Re: Live usb swap.

#4 Post by dolphin_oracle »

"nofstab" might be another try. its a valid code but I don't know exactly how it would work with an encrypted live usb.

I did send an email to BitJam about this one.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
fehlix
Developer
Posts: 12704
Joined: Wed Apr 11, 2018 5:09 pm

Re: Live usb swap.

#5 Post by fehlix »

Adrian wrote: Mon Jul 01, 2019 4:12 pm I'm afraid that's not a valid option.
That's Debian "Special" init.d thingy. Probably misinterpreted during liveboot as wrong parameter :footinmouth:
That's the misleading live boot message:

Code: Select all

Possibly unknown or misspelled boot codes:
(don't take this too seriously)
    noswap
live-noswap.png
Try it out. It shall work, all with no swap after boot :happy:
:puppy:
You do not have the required permissions to view the files attached to this post.

User avatar
fehlix
Developer
Posts: 12704
Joined: Wed Apr 11, 2018 5:09 pm

Re: Live usb swap.

#6 Post by fehlix »

Actually after you have proven it works, press F8 on the boot screen to select save, this will save the noswap boot option and you shall have it within the additional Custom boot menuentry.
:puppy:

mgp
Posts: 8
Joined: Sun Jun 30, 2019 9:20 pm

Re: Live usb swap.

#7 Post by mgp »

Thanks everyone. The noswap boot option worked! I got the error code about spelling but it worked. Thanks for the tip about saving with F8.

Valdivia9

Re: [Solved] Live usb swap.

#8 Post by Valdivia9 »

Yes noswap boot worked with me too..But now i m getting an error of installation error...What is the solution to it?

User avatar
Adrian
Developer
Posts: 8960
Joined: Wed Jul 12, 2006 1:42 am

Re: [Solved] Live usb swap.

#9 Post by Adrian »

Valdivia9 wrote: Fri Jul 05, 2019 5:08 am Yes noswap boot worked with me too..But now i m getting an error of installation error...What is the solution to it?
It would be useful if you could provide more info "an error" doesn't tell us much. Provided at least /var/log/minstall.log and info about your system "inxi -F"

Post Reply

Return to “General”