usb linux question(s)

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read this

usb linux question(s)

Postby brasssmunkye on Fri Dec 26, 2008 5:57 pm

i just installed mint on my usb drive with unetbootin
my main question for now is, if i enable the nvidia driver for compiz effects, will i still be able to work fine on a computer with an ATI card?
will it revert back to the other generic driver?
or can i get both drivers working, depending on what hardware its on?
thank you for your time :D
brasssmunkye
Level 1
Level 1
 
Posts: 5
Joined: Fri Dec 26, 2008 4:32 pm

Linux Mint is funded by ads and donations.
 

Re: usb linux question(s)

Postby 67GTA on Fri Dec 26, 2008 6:38 pm

I have never tried this before. That is an excellent question. Would you care to test it? Install both drivers and see if xorg will load the appropriate one on different hardware. If it doesn't, I can help you revert everything. I am very curious about the capabilities of the new auto xorg config in this scenario.
"The only thing necessary for the triumph of evil is for good men to do nothing." Edmund Burke
User avatar
67GTA
Level 6
Level 6
 
Posts: 1301
Joined: Wed Jun 06, 2007 9:49 pm
Location: Kentucky, USA

Re: usb linux question(s)

Postby brasssmunkye on Sat Dec 27, 2008 4:53 am

yeah, i have ran into a problem lol
i boot from my USB
i changed some settings i like, installed updates
installed nvidia driver
and guess what
i boot to my usb stick again, and everything is as it was from the begining.
if i can get it to save changes, i can test having nvidia and flgrx drivers installed
it might take me a day to get to the ati computer i would use, but i could still test it nontheless

anyone know how to make it so anything i change will actually stay changed on my stick?
mind you, i installed with unetbootin
brasssmunkye
Level 1
Level 1
 
Posts: 5
Joined: Fri Dec 26, 2008 4:32 pm

Re: usb linux question(s)

Postby 67GTA on Sat Dec 27, 2008 12:42 pm

"The only thing necessary for the triumph of evil is for good men to do nothing." Edmund Burke
User avatar
67GTA
Level 6
Level 6
 
Posts: 1301
Joined: Wed Jun 06, 2007 9:49 pm
Location: Kentucky, USA

Re: usb linux question(s)

Postby brasssmunkye on Sat Dec 27, 2008 9:10 pm

i love you.
brasssmunkye
Level 1
Level 1
 
Posts: 5
Joined: Fri Dec 26, 2008 4:32 pm

Re: usb linux question(s)

Postby brasssmunkye on Sat Dec 27, 2008 10:54 pm

i tried it that way, no go, nothing saved :/
no updates, no documents :/
brasssmunkye
Level 1
Level 1
 
Posts: 5
Joined: Fri Dec 26, 2008 4:32 pm

Re: usb linux question(s)

Postby 67GTA on Sun Dec 28, 2008 12:15 am

The method in that link is supposed to give you a persistent install. Did you insert the custom syslinux.cfg file?
"The only thing necessary for the triumph of evil is for good men to do nothing." Edmund Burke
User avatar
67GTA
Level 6
Level 6
 
Posts: 1301
Joined: Wed Jun 06, 2007 9:49 pm
Location: Kentucky, USA

Re: usb linux question(s)

Postby brasssmunkye on Sun Dec 28, 2008 12:41 am

yes i did
brasssmunkye
Level 1
Level 1
 
Posts: 5
Joined: Fri Dec 26, 2008 4:32 pm

Re: usb linux question(s)

Postby 67GTA on Sun Dec 28, 2008 1:09 am

I think I'll try it, but I only have Nvidia cards in my three PC's, and they all use the same drivers :D I will test the persistent data part out.
"The only thing necessary for the triumph of evil is for good men to do nothing." Edmund Burke
User avatar
67GTA
Level 6
Level 6
 
Posts: 1301
Joined: Wed Jun 06, 2007 9:49 pm
Location: Kentucky, USA

Re: usb linux question(s)

Postby 67GTA on Sun Dec 28, 2008 2:04 am

I got it! The custom syslinux file you put in has the boot menu hidden by default, and it automatically boots in to the non-persistent mode. Edit the syslinux.cfg file, and comment out any line that has the word "hidden" in it. Then the next time you boot the USB Mint stick, choose the persistent boot. As far as both drivers, they will coexist as long as they are both not in use at the same time. I tried booting on my desktop and laptop. I made customizations while booted on my desktop. They were still there when I booted on my desktop. The USB install is actually a "Live CD" that retains any changes made including packages installed. So I assume once you boot in to the persistent mode and install the drivers for your two cards, xorg should detect which one it is being booted with, and select the correct module to load. Let me know how it goes.
"The only thing necessary for the triumph of evil is for good men to do nothing." Edmund Burke
User avatar
67GTA
Level 6
Level 6
 
Posts: 1301
Joined: Wed Jun 06, 2007 9:49 pm
Location: Kentucky, USA

Re: usb linux question(s)

Postby 67GTA on Sun Dec 28, 2008 3:02 am

Little more info. It is a no go with the nvidia driver just floating. The xorg.conf file has to be configured to use it, and then wouldn't work when booted with ATI card. Xorg will fall back to vesa. I may have found a solution to this with switchconf. You can install it from the repos(package manager). You can create two or more profiles to choose from at the grub screen. That way you can set up one for nvidia, and one for ati, and select one according to which hardware is being used. More info here: http://ubuntuforums.org/showthread.php?t=753680
"The only thing necessary for the triumph of evil is for good men to do nothing." Edmund Burke
User avatar
67GTA
Level 6
Level 6
 
Posts: 1301
Joined: Wed Jun 06, 2007 9:49 pm
Location: Kentucky, USA

Re: usb linux question(s)

Postby 67GTA on Sun Dec 28, 2008 5:33 pm

I contacted Lance at pendrivelinux about the syslinux.cfg file. He has fixed it now to select the persistent boot by default.
"The only thing necessary for the triumph of evil is for good men to do nothing." Edmund Burke
User avatar
67GTA
Level 6
Level 6
 
Posts: 1301
Joined: Wed Jun 06, 2007 9:49 pm
Location: Kentucky, USA

Re: usb linux question(s)

Postby Nevart on Fri Jan 09, 2009 9:21 am

67GTA wrote:I contacted Lance at pendrivelinux about the syslinux.cfg file. He has fixed it now to select the persistent boot by default.


Do you feel at all inclined to provide some more details? Perhaps you could show the lines that were changed?
Nevart
Level 1
Level 1
 
Posts: 47
Joined: Fri Jan 09, 2009 7:22 am

Re: usb linux question(s)

Postby 67GTA on Fri Jan 09, 2009 5:22 pm

The original file had the non persistent boot option set as default as noted by the "menu default" line. The fixed version has the persistent boot option set by default. Mint hides the grub screen by default, so most people using this tutorial were not getting the advertised persistence, and didn't know how to select it or that there was even a choice. You can hit any key at the grub screen to show all boot options to select manually or comment out the "hiddenmenu" line in /boot/grub/menu.lst.

ORIGINAL:

Code: Select all
default vesamenu.c32
timeout 100

menu background splash.jpg
menu title Welcome to Linux Mint 6 Felicia Main Edition
menu color border 0 #00eeeeee #00000000
menu color sel 7 #ffffffff #33eeeeee
menu color title 0 #ffeeeeee #00000000
menu color tabmsg 0 #ffeeeeee #00000000
menu color unsel 0 #ffeeeeee #00000000
menu color hotsel 0 #ff000000 #ffffffff
menu color hotkey 7 #ffffffff #ff000000
menu color timeout_msg 0 #ffffffff #00000000
menu color timeout 0 #ffffffff #00000000
menu color cmdline 0 #ffffffff #00000000
label live
  menu label Run Linux Mint Persistently
  kernel /casper/vmlinuz
  append  noprompt cdrom-detect/try-usb=true persistent file=/cdrom/preseed/mint.seed boot=casper initrd=/casper/initrd.gz quiet splash --
menu default
label nonpersist
  menu label Run Linux Mint without saving
  kernel /casper/vmlinuz
  append  noprompt file=/cdrom/preseed/mint.seed boot=casper initrd=/casper/initrd.gz quiet splash -- 
label xforcevesa
  menu label Start Linux Mint in compatibility mode
  kernel /casper/vmlinuz
  append  file=/cdrom/preseed/mint.seed boot=casper xforcevesa initrd=/casper/initrd.gz ramdisk_size=1048576 root=/dev/ram rw noapic noapci nosplash irqpoll --
label memtest
  menu label Memory Test
  kernel memtest
label local
  menu label Boot from local drive
  localboot 0x80


FIXED:

Code: Select all
default vesamenu.c32
timeout 100

menu background splash.jpg
menu title Welcome to Linux Mint 6 Felicia Main Edition
menu color border 0 #00eeeeee #00000000
menu color sel 7 #ffffffff #33eeeeee
menu color title 0 #ffeeeeee #00000000
menu color tabmsg 0 #ffeeeeee #00000000
menu color unsel 0 #ffeeeeee #00000000
menu color hotsel 0 #ff000000 #ffffffff
menu color hotkey 7 #ffffffff #ff000000
menu color timeout_msg 0 #ffffffff #00000000
menu color timeout 0 #ffffffff #00000000
menu color cmdline 0 #ffffffff #00000000
menu default
label live
  menu label Run Linux Mint Persistently
  kernel /casper/vmlinuz
  append  noprompt cdrom-detect/try-usb=true persistent file=/cdrom/preseed/mint.seed boot=casper initrd=/casper/initrd.gz quiet splash --
label nonpersist
  menu label Run Linux Mint without saving
  kernel /casper/vmlinuz
  append  noprompt file=/cdrom/preseed/mint.seed boot=casper initrd=/casper/initrd.gz quiet splash -- 
label xforcevesa
  menu label Start Linux Mint in compatibility mode
  kernel /casper/vmlinuz
  append  file=/cdrom/preseed/mint.seed boot=casper xforcevesa initrd=/casper/initrd.gz ramdisk_size=1048576 root=/dev/ram rw noapic noapci nosplash irqpoll --
label memtest
  menu label Memory Test
  kernel memtest
label local
  menu label Boot from local drive
  localboot 0x80
"The only thing necessary for the triumph of evil is for good men to do nothing." Edmund Burke
User avatar
67GTA
Level 6
Level 6
 
Posts: 1301
Joined: Wed Jun 06, 2007 9:49 pm
Location: Kentucky, USA

Re: usb linux question(s)

Postby Nevart on Sat Jan 10, 2009 7:20 am

Thanks GTA... that should clear away the last cobwebs of confusion. :)
Nevart
Level 1
Level 1
 
Posts: 47
Joined: Fri Jan 09, 2009 7:22 am

Linux Mint is funded by ads and donations.
 

Return to Hardware Support

Who is online

Users browsing this forum: Bing [Bot] and 13 guests