Page 1 of 2

Xfce booting from USB

Posted: Thu Jun 02, 2016 10:52 am
by Instigator
Hi, I've installed Xfce on my netbook and its working well I was hoping to be able to move the USB (Lexar P20 64GiB) around to say a desktop with out any problems.

Mint Xfce doesn't seem to like it.
is it not like Windows to go (WinToUSB)?

Will I need its own install for each system?

Re: Xfce booting from USB

Posted: Thu Jun 02, 2016 11:52 am
by edwardr
I'm confused about your situation. Did you install Mint xfce to the hard drive of your netbook, or are you running xfce from a live usb stick (where you lose all saved information when you reboot), or are you running xfce from a persistent install on a usb (where Mint xfce was installed onto the usb stick rather than the computer hard drive, and when you reboot your saved information is remembered on the usb stick)?

It sounds like you have a live usb stick that you used to install Mint onto your netbook hard drive and you want to use the live usb stick to install Mint onto the desktop, but are having problems. What problems are you having? A live usb stick can be use over and over again to boot and install Mint onto any number of computers.

Re: Xfce booting from USB

Posted: Thu Jun 02, 2016 3:38 pm
by Instigator
Neither, I have installed mint to the USB (not live) and want to be able to move it around.
I used a USB 2.0 with live mint on, and installed it onto a USB 3.0 on the netbook and want to be able to boot that USB on other devices without problems.

Like can I install multiple drivers to the install so I can move it from desktop with a 660GTX to a laptop with Intel chip set and then back to the netbook with a AMD chip set.

or each device will need its own USB with the install on?

Windows to go for example can be put into anything with my windows 10, use it for desktop at home and take it with me for laptop/netbook while out and for work computers.

Re: Xfce booting from USB

Posted: Thu Jun 02, 2016 3:47 pm
by austin.texas
Insitgator wrote:Neither, I have installed mint to the USB (not live) and want to be able to move it around.
I used a USB 2.0 with live mint on, and installed it onto a USB 3.0 on the netbook and want to be able to boot that USB on other devices without problems.

Like can I install multiple drivers to the install so I can move it from desktop with a 660GTX to a laptop with Intel chip set and then back to the netbook with a AMD chip set.
You cannot install multiple drivers. However, the linux kernel has the necessary capability to use a wide range of hardware. So if you do not install special drivers, chances are that your USB will work on different computers.
The 3.0 USB might only work on a 3.0 connection.

Re: Xfce booting from USB

Posted: Thu Jun 02, 2016 3:52 pm
by WharfRat
Speaking from experience I boot a Mint USB on three computers, each having dissimilar hardware.

All are legacy BIOS though, not UEFI.

Re: Xfce booting from USB

Posted: Thu Jun 02, 2016 6:52 pm
by Instigator
austin.texas, Ah thanks that's where I went wrong then.
so uninstall drivers and i'm good to go? also when I installed I didn't add any swap (mainly because i'm new to Linux and didn't want to accidentally mess up the windows install on the SSD)
Will I need swap with 4GB laptop/net books and 12GB desktops?
if I do need swap ill need to shrink the drive any advice on software to use?
Its a simple process shrink and format a partition as swap? (I assume Theres a option for that? like there is for FAT32, NTFS, etc for windows in disk management?

Using USB 3.0 ports on all systems at the moment using Lexar P20.... but its 4k write is stupidly slow will be using a SanDisk Extreme 64GiB once it arrives threes a huge difference even if the Lexar has faster sequential read and write.

I have XFCE mainly to help the netbook with its useless CPU/GPU (AMD c70 1GHZ) but will be switching to KDE find it much more user friendly.
Took me 30 mins to install a disk monitor on today and even then all i got was a small icon in taskbar.
KDE stock gave me desktop widgets right out the box, its fairly simple to make the KDE more light weight?


WharfRat, so they will all need to be legacy? shouldn't be a problem.

Re: Xfce booting from USB

Posted: Thu Jun 02, 2016 7:12 pm
by austin.texas
Insitgator wrote:so uninstall drivers and i'm good to go? also when I installed I didn't add any swap (mainly because i'm new to Linux and didn't want to accidentally mess up the windows install on the SSD) will I need swap with 4GB laptop/net books and 12GB desktops?
Swap is only needed if you plan to hibernate, or if you open a very extraordinary number of programs or browser tabs.
Insitgator wrote:so uninstall drivers and i'm good to go? also when I installed I didn't add any swap (mainly because i'm new to Linux and didn't want to accidentally mess up the windows install on the SSD) will I need swap with 4GB laptop/net books and 12GB desktops?

so they will all need to be legacy?
A UEFI Mint USB will never boot on a computer that is not capable of UEFI. Legacy can be booted on any computer.

Re: Xfce booting from USB

Posted: Thu Jun 02, 2016 7:21 pm
by Instigator
Okay thanks, I think you read it before I finished editing but you cleared up the main parts thanks.
wont bother with swap then and they all boot up so no bios issues.

will I need to disable hibernate on KDE/Xfce to prevent possible problems or by stock its already disabled?


edit : whats the best way to remove the drivers?

Re: Xfce booting from USB

Posted: Thu Jun 02, 2016 11:56 pm
by WharfRat
If you didn't install a proprietary video driver e.g., nvidia or fglrx then it will boot properly.

Mine boots to an AMD processor with AMD graphics, an Intel core I3 with Intel graphics and a xeon processor with an nvidia graphics card.

You can disable hibernate, however hibernation will probably just fail without a swap.

Re: Xfce booting from USB

Posted: Fri Jun 03, 2016 1:17 am
by Instigator
i did install the drivers twice and unsure how to remove them.
Amd ones first then later Nvidia.

Re: Xfce booting from USB

Posted: Fri Jun 03, 2016 8:56 am
by WharfRat
Insitgator wrote:i did install the drivers twice and unsure how to remove them.
Amd ones first then later Nvidia.
You really can't have these two drivers installed so I can't imagine how you managed that, but lets take a look.

Paste back the results of

Code: Select all

dpkg -l|egrep 'fglrx|nvid' 
and

Code: Select all

ls -lh /etc/X11/xorg.{conf,conf.d/}

Re: Xfce booting from USB

Posted: Fri Jun 03, 2016 10:58 am
by Instigator
andy@andy-AO725 ~ $ dpkg -l|egrep 'fglrx|nvid'
ii nvidia-352 352.63-0ubuntu0.14.04.1 amd64 NVIDIA binary driver - version 352.63
ii nvidia-opencl-icd-352 352.63-0ubuntu0.14.04.1 amd64 NVIDIA OpenCL ICD
rc nvidia-prime 0.6.2linuxmint1 amd64 Tools to enable NVIDIA's Prime
ii nvidia-prime-applet 1.0.3 all An applet for NVIDIA Prime
ii nvidia-settings 331.20-0ubuntu8 amd64 Tool for configuring the NVIDIA graphics driver
andy@andy-AO725 ~ $ ls -lh /etc/X11/xorg.{conf,conf.d/}
ls: cannot access /etc/X11/xorg.conf: No such file or directory
ls: cannot access /etc/X11/xorg.conf.d/: No such file or directory

Re: Xfce booting from USB

Posted: Fri Jun 03, 2016 1:15 pm
by WharfRat
Before doing anything, what does this show :?:

Code: Select all

inxi -G

Re: Xfce booting from USB

Posted: Fri Jun 03, 2016 2:21 pm
by Instigator
Thanks for ya help but i'm going to start again this p20 jumpdrive is slow anyways and ill start with KDE and just install no drivers for GPU with the new SanDisk extreme and hopefully be able to move it around the Xfce just woke up with no visible mouse was the last straw.

Re: Xfce booting from USB

Posted: Fri Jun 03, 2016 3:27 pm
by WharfRat
The KDE desktop is a resource hog so if you want to improve performance I would suggest the Mate desktop version.

Good luck :wink:

Re: Xfce booting from USB

Posted: Fri Jun 03, 2016 5:21 pm
by Instigator
It's installed now Xfce used 300Mb of ram at boot this uses 500MB
and KDE for me at least is so much easier to use and understand everything seems to flow with it.

last time I had KDE on I did have 1 minor niggle but isn't a huge problem when I moved the USB with it on from Netbook to desktop PC with a 28 inch monitor and then moved back to netbook the widgets were gone like off the screen is there was a way to set the desktop to scale with screen size? if not its not a huge problem.

Re: Xfce booting from USB

Posted: Fri Jun 03, 2016 8:41 pm
by WharfRat
I don't have that problem going from the laptop's 15 inch screen to the desktop's 22 inch screen.

What are the graphic properties for the two

Code: Select all

inxi -GC
and what does xrandr show on each

Code: Select all

xrandr -q

Re: Xfce booting from USB

Posted: Sat Jun 04, 2016 7:52 am
by Instigator
The desktop only boots in windows at the moment..well it boots then freezes on desktop after around 2mins with mint.

But I can show you the command lines from my 11 inch netbook and 15inch laptop but they seem to be fine.

I might be able to do one code before desktop freezes and snap a photo.

I'm at work at the moment so will when home tonight.

Re: Xfce booting from USB

Posted: Sat Jun 04, 2016 1:14 pm
by Instigator
Netbook
andy@andy-AO725:~ > inxi -GC
CPU: Dual core AMD C-70 APU with Radeon HD Graphics (-MCP-) cache: 1024 KB
clock speeds: max: 1000 MHz 1: 1000 MHz 2: 1000 MHz
Graphics: Card: Advanced Micro Devices [AMD/ATI] Wrestler [Radeon HD 7290]
Display Server: X.Org 1.17.1 drivers: ati,radeon (unloaded: fbdev,vesa)
Resolution: 1366x768@60.0hz
GLX Renderer: Gallium 0.4 on AMD PALM GLX Version: 3.0 Mesa 10.5.9
andy@andy-AO725:~ > xrandr -q
Screen 0: minimum 320 x 200, current 1366 x 768, maximum 8192 x 8192
LVDS connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 256mm x 144mm
1366x768 60.0*+
1280x720 59.9
1152x768 59.8
1024x768 59.9
800x600 59.9
848x480 59.7
720x480 59.7
640x480 59.4
HDMI-0 disconnected (normal left inverted right x axis y axis)
VGA-0 disconnected (normal left inverted right x axis y axis)
andy@andy-AO725:~ >




this is laptop did notice touch pad is a little slow on responses but thats for another day.

andy@andy-AO725:~ > inxi -GC
CPU: Dual core Intel Core i3-4005U (-HT-MCP-) cache: 3072 KB
clock speeds: max: 1700 MHz 1: 1700 MHz 2: 1700 MHz 3: 1700 MHz
4: 1700 MHz
Graphics: Card: Intel Haswell-ULT Integrated Graphics Controller
Display Server: X.Org 1.17.1 drivers: intel (unloaded: fbdev,vesa)
Resolution: 1366x768@60.0hz
GLX Renderer: Mesa DRI Intel Haswell Mobile
GLX Version: 3.0 Mesa 10.5.9
andy@andy-AO725:~ > xrandr -q
Screen 0: minimum 8 x 8, current 1366 x 768, maximum 32767 x 32767
eDP1 connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
1366x768 60.0*+
1360x768 59.8 60.0
1024x768 60.0
800x600 60.3 56.2
640x480 59.9
DP1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
andy@andy-AO725:~ >

if you also need desktop let me know and il boot it and try to type script before it crashes.

Re: Xfce booting from USB

Posted: Sat Jun 04, 2016 2:42 pm
by WharfRat
Both systems are using the proper open source video drivers and xrandr shows that the detected optimal display resolutions are being used.

I notice that your X.Org is a latter version than mine. I thought I was up to date with all the packages. What do these return :?:

Code: Select all

egrep -w 'RELEASE|CODENAME|EDITION|DESKTOP|TOOLKIT' /etc/linuxmint/info

Code: Select all

inxi -r