Shop OBEX P1 Docs P2 Docs Learn Events
Changing from Window to Linux permantly - Page 3 — Parallax Forums

Changing from Window to Linux permantly

135678

Comments

  • Peter KG6LSEPeter KG6LSE Posts: 1,383
    edited 2014-05-17 19:00
    whiteoxe wrote: »
    I am not sure what XFCE is ? havent even Googled it, i will. The Win7 in VB is running most things, ive downloaded programs to the BS2 using the USB to serial adapter. Great that worked out. I am having trouble getting window2s movie maker working in VB. It tells me the video card is the problem. No doubt there will be some tweak i hope.

    I am about to unplug this drive and plug in the other. The idea was to install Mint and VirtualBox again. But I may have to partition and Install Win 7 directly if i really want windows movie maker 6 from vista. I just am not sure but PJ from these forums may be over today, he has a lot of knowledge on these installations so I'll see later.

    edit: XFCE looks good. maybe, what are your reasons for preferring it ?

    XFCE is Light and tight . it has a minimal hardware load . XFCE is what GNOME used to be until version 3 .

    lXDE is like Xfce but less featured in some ways .

    BTW you can have more then one WM installed . I have had KDE GNOME and XFCE on one system so I can play with them
  • whiteoxewhiteoxe Posts: 794
    edited 2014-05-17 19:06
    Good to know.... what i know i need to adjust is having a better way to see what program i want to start. I dont really like the scrolling left hand side, and it does not show all your programs.
  • whiteoxewhiteoxe Posts: 794
    edited 2014-05-17 19:33
    I need a bit of help because I.m scared of wrecking everything on the HD ive now got working. I unplugged it. Then I plugged back in the second 500gig drive. I tried to install win 7 even though later on I might format be installing Mint or dual booting or anything.......

    The Win 7 installation said it could not continue because the file system was unrecognised.

    I turned pc off and then made both drives plugged in. When I turned pc back on it just sat there with a blank screen after inital bios startup. So i unplugged the unrecognised drive and turned the pc back on and felt relived when it booted up Ubuntu as before.

    What do I do about the drive that is not recognised. If I plug it in now while Ubuntu is running will I be able to format it ?

    Should I have only " it" plugged in and this time try and install Linux, maybe Mint ?

    I have a feeling I am going to need a partition for Win 7 even for awhile until I get everything working in VirtualBox properly ?

    I'll figure somethingout , i think i alredy have.
  • David BetzDavid Betz Posts: 14,516
    edited 2014-05-17 20:01
    I bought an Asus UX302LA from BestBuy today but am having trouble getting a Live USB Stick I created from Mint 16 working. I get the Grub boot menu but when I try to boot Linux all I get is a blank screen. I tried adding "nomodeset" to the Linux boot arguments but that didn't help. Any idea why this might be failing? I need to figure this out soon so I can return the laptop if it isn't going to work with Linux.
  • jazzedjazzed Posts: 11,803
    edited 2014-05-17 21:05
    David Betz wrote: »
    I bought an Asus UX302LA from BestBuy today but am having trouble getting a Live USB Stick I created from Mint 16 working. I get the Grub boot menu but when I try to boot Linux all I get is a blank screen. I tried adding "nomodeset" to the Linux boot arguments but that didn't help. Any idea why this might be failing? I need to figure this out soon so I can return the laptop if it isn't going to work with Linux.


    I have had video acceleration trouble with Mint 16 under VirtualBox ... I'm running with it turned off. Some day I'll update.
  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2014-05-17 21:31
    David Betz wrote: »
    I bought an Asus UX302LA from BestBuy today but am having trouble getting a Live USB Stick I created from Mint 16 working. I get the Grub boot menu but when I try to boot Linux all I get is a blank screen. I tried adding "nomodeset" to the Linux boot arguments but that didn't help. Any idea why this might be failing? I need to figure this out soon so I can return the laptop if it isn't going to work with Linux.

    I think there is something in the new bios that needs to be changed so just check that and see if there is anything there although I can't remember what it was. Also try LM17 as that has improved drivers, the RC has proven reliable after updates have been applied.
  • Peter KG6LSEPeter KG6LSE Posts: 1,383
    edited 2014-05-17 22:06
    I think there is something in the new bios that needs to be changed so just check that and see if there is anything there although I can't remember what it was. Also try LM17 as that has improved drivers, the RC has proven reliable after updates have been applied.

    some uEFI based PCs need to have there bios set to legacy mode and secure boot off .

    a lenovo a friend had was having a beast of a time to work with mint untill I did this.
  • whiteoxewhiteoxe Posts: 794
    edited 2014-05-17 22:11
    jazzed wrote: »
    I have had video acceleration trouble with Mint 16 under VirtualBox ... I'm running with it turned off. Some day I'll update.

    The video part of VirtualBox is about the only stumbling block left really. Some programs are complaining.... but then I will probably switch to a Linux eqivalent , thats what Im trying out now besides the VirtualBox forum.
  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2014-05-17 22:40
    whiteoxe wrote: »
    The video part of VirtualBox is about the only stumbling block left really. Some programs are complaining.... but then I will probably switch to a Linux eqivalent , thats what Im trying out now besides the VirtualBox forum.

    That is more to do with Windows rather than VB or Linux, you may need to install the correct GL drivers etc to round off the installation process.
  • whiteoxewhiteoxe Posts: 794
    edited 2014-05-17 23:05
    Ive just installed the ATI disk drivers that came with a new video card...., Ill see what happens !

    PS. my download speed is painfull today, cant wait till next months plan change :)
  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2014-05-17 23:16
    whiteoxe wrote: »
    Ive just installed the ATI disk drivers that came with a new video card...., Ill see what happens !

    PS. my download speed is painfull today, cant wait till next months plan change :)

    VB uses it's own drivers so you don't need those special drivers, remember it's a virtual environment, but maybe you need OpenGL and DirectX drivers.

    Let me know of any big downloads I can grab for you, I'll certainly have a variety of distros.
  • whiteoxewhiteoxe Posts: 794
    edited 2014-05-18 18:53
    I had VirtualBox and Win 7 installed as a Guest OS. The prop tool and Basic Stamp and Scribbler GUI were all finding the devices and downloading programs , the world was good. I shut down the OS then VB itself finally Shutdown and turned off Ubuntu.

    The next time I started up and then ran VirtualBox, there was no sign of my Win 7 installation. It had gone. So I repeated my steps but also added guest additions , following the instructions. Then when I had reinstalled Basic Stamp and Scbbler software , those programs cannot find a serial port, i cant access the BS2, Scribbler or Prop. This is just going to be a case of trying a bit harder, it worked once so its just the 'ME' part that is screwing things up.

    At least every time i restart the PC VirtualBox does not lose its Guest OS !

    I was able to use the command sudo gparted, after i connected the second HD and format it to NTFS.

    Then i restarted the PC with only that newly formatted HD connected and its almost finished installing Win 7, where before it wouldn't because it didn’t recognise the file System.

    Now with both drives connected I just hit F8 if I want to boot Ubuntu because it defaults to Win 7 if I do nothing.

    I think this setup is going to be more stable than the bootloader setup I had before. Ive restarted the PC several times and chosen which OS to boot and it seems to be stable. I've had my fill of mucking around with the operating systems. Can't say I enjoyed it much.

    Ive got a hard copy of Whats a microcontroller and the BS2 Homework board. Found a little kit of parts to experiment with, maybe it came with the board. Going to try super glue on the Scribbbler wheel, I was in town tried to find some epoxy but was in a bit of a hurry. I would rather start working my way through the microcontrollers than anymore OS stuff so thanks for the help anyway, but its time to actually do some stuff , glad this period is sort of over :)
  • David BetzDavid Betz Posts: 14,516
    edited 2014-05-18 19:30
    David Betz wrote: »
    I bought an Asus UX302LA from BestBuy today but am having trouble getting a Live USB Stick I created from Mint 16 working. I get the Grub boot menu but when I try to boot Linux all I get is a blank screen. I tried adding "nomodeset" to the Linux boot arguments but that didn't help. Any idea why this might be failing? I need to figure this out soon so I can return the laptop if it isn't going to work with Linux.
    This didn't work out for me. There seems to be some problem with getting the graphics chip working with Mint/Ubuntu. I tried the suggested workarounds but wasn't able to get past the problem. I returned the Asus laptop and am now considering buying a System76 laptop with Ubuntu already installed. It seems to me that this is one big failing with Linux. Often when you buy a recent computer it has parts in it that don't have Linux drivers yet, especially the graphics card so installing Linux becomes difficult or maybe impossible. Is the best approach to buy a used laptop that is old enough that its hardware is already supported by Linux?
  • TorTor Posts: 2,010
    edited 2014-05-19 01:10
    For graphics I always aim for a system with NVidia graphics. That's a pretty safe bet - NVidia keeps up-to-date Linux-compatible drivers in their download area. They're up-to-date not only for the cards, but they also update them when there are changes in X11 which makes older drivers incompatible. So far this has worked for me.

    For laptops this is more tricky because the graphics is usually built-in and more often than not this is not NVidia. I guess Intel built-in graphics should work out of the box for most distros. ATI graphics should work too, but maybe it's better to go for something a couple of years old at least. But I'm on thinner ice there.

    What I had most trouble with on newer laptops is wireless networking. Ethernet is not a problem, but wifi is. It can be very tricky to get going. If you can find something Intel you're safe, but most vendors now use cheapo Broadcom or other chipsets and they vary greatly in quality and driver availability (the vendor drivers are often very bad too). I now prefer to use tiny Asus multi-use wireless gadgets for wifi, I just plug one into the Ethernet port and that always works, and it's very safe and stable.

    Lastly, sound can occasionally be a problem - I have one notebook which has a dual-sound system because it has HDMI as well, and the sound can be via HDMI or the loudspeaker/line plug. Although the sound chip is supported in Linux and the driver loads, I just can't figure out how to get sound out of the built-in speakers (or headset output) - so I can't use that pc for Skype.

    On the other hand my more-than-ten years old day-to-day laptop works great. I recently had to upgrade memory to its maximum of 1GB because later Firefox versions have terrible bloat and I always keep many windows open. But it works great. 14" 1400x1050 4x3 screen, perfect for on-the-road development (or certainly better than any modern alternative I can find)

    -Tor
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2014-05-19 08:36
    Well, I am happy to know that Nvidia is supporting Linux. I had my doubts for awhile in its early days... and I have a Nvidia card in my desktop with the Intel Quad 64bit.

    For new users...
    It does help to have multiple Linux boxes. One for real world use,and another to explore and risk breaking the OS.

    I CANNOT emphasize strongly enough that it is quite natural to want to explore all the Linux distributions once you get involved in Linux. And having that 'experimental' platform is really the sanest way to deal with your explorations.

    Of course, you need to visit Distrowatch to see all the possibilities.

    Distrowatch.com

    A spare netbook is ideal for exploring, or a Raspberry Pi, or and only a retired XP box that may never have enough ram to run Windows7 right. Linux is very friendly to older hardware; whereas all the competition wants that stuff to become landfill immediately.


    I have the old XP box, a spare notebook, and a Raspberry Pi cousin... the Cubieboard.

    I strongly recommend getting a CubieTruck and avoiding bothering with the Raspberry Pi. It has more resources, including a SATA hard disk support. You can use a Raspberry Pi, but it is destined to always sit in the middle of a nest of tangled wires. The CubieTruck has a proper board to eliminate the tangle.

    cubieboard.org

    I also have my Asus wifi router reloaded with Linux firmware. OpenWRT will make your wifi router become Grand Central Station in your home LAN dynasty. This is a fun way to see all that embedded Linux can be.

    openwrt.org

    BTW, while a LiveCD is rather simple to do...
    the LiveUSB installation in LInux is quite a stretch. You have to realize that the memory on these USB sticks was designed for NTFS and FAT32, not for Linux file systems. So it takes a lot of extra jumps to actually have a bootable USB version of Linux. The documentation is also a maze.
  • whiteoxewhiteoxe Posts: 794
    edited 2014-05-23 23:41
    Well, I am happy to know that Nvidia is supporting Linux. I had my doubts for awhile in its early days... and I have a Nvidia card in my desktop with the Intel Quad 64bit.

    For new users...
    It does help to have multiple Linux boxes. One for real world use,and another to explore and risk breaking the OS. .

    Haaa, i recently watched a youtube vid of Linus Torvolds giving the finger to Nvida for the worst support, no support, during a campus talk to students, it may have been years old , i didnt check the date. !

    But somehow when i booted into Linux today i could not get internet wifi at home. I checked the connection and my laptop. Laptop was fine, booting this PC back into windows was fine. I might break something here but i am trying to format another HD (the one where Ubuntu is no longer picking up WIFI and I'll then install some OS or other but i am using Gparted, it has the format option greyed out ? can anyone advise on how i might format this disk
    format this.jpg


    it says the file system is LVM 2 pv
    1024 x 576 - 85K
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2014-05-24 00:33
    Wifi installation in Linux depends Directly on have the right driver for the Wifi chip.

    Not all wifi chips are supported. You have to check what you have in your computer (you can do that in Linux even if there is no driver for it), and then acquire the right driver if you lack it.

    This not quite as easy as Windows (the for profit crowd seems to get drivers for Windows for everything). And in some cases, you might have to change your Wifi card to one that is supported by Linux. But so far, my router and 3 notebook computers have all had Linux supported wifi. Trouble is likely to occur if you are using something that is very old.

    http://gcc.gnu.org/onlinedocs/
  • whiteoxewhiteoxe Posts: 794
    edited 2014-05-24 00:49
    I appreciate your time for the information but it has always worked. Today when i logon i get a very fleeting message "wifi disconnected" or network disconnected . Very strange, i can get wifi if i use the installation disk (Ubuntu) as a live disk. but i don't know why its not working otherwise, nothing has happened except i woke up and booted into Ubuntu again ????
  • whiteoxewhiteoxe Posts: 794
    edited 2014-05-30 12:01
    I like how my system boots these days (after all thats happened in this thread) i get a choice of starting Mint, Ubuntu, Win 7.


    Ive been stuck on mint for a couple of days and just installed Wine instead of Virtualbox. need to do some googling before i can use it but ive got my fingers crossed !!!!
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2014-05-31 03:51
    whiteoxe wrote: »
    I appreciate your time for the information but it has always worked. Today when i logon i get a very fleeting message "wifi disconnected" or network disconnected . Very strange, i can get wifi if i use the installation disk (Ubuntu) as a live disk. but i don't know why its not working otherwise, nothing has happened except i woke up and booted into Ubuntu again ????

    Firstly, you have to actually go into your internet wifi connections and request that the wifi will always start on boot up. Otherwise, it will default to be disconnected until you request it.

    Second, if you are using a wifi hot spot.. some will fade in and out of being automatically found. These issues are beyond your computer. The provider may have the hot spot improperly setup, or it may be trying to handle too much service. If you are at home and using a wifi router that is secure and dedicated to only your use, you should be able to get a stable hook up.... But the fleeting messages are part of the boot up process. I suppose you could shut off the messaging.
  • whiteoxewhiteoxe Posts: 794
    edited 2014-05-31 04:59
    thx loopy, its working now. linux is sometimes a headache for me. like why does mint when i boot it up recognise my usb stick and web cam .... but if i boot into Ubuntu i get neither of those ?
    \
    they just both installed that way.... i really don't want to start googling problems, im too lazy, but i will, i just wish i didn't have to ;)
  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2014-05-31 08:10
    whiteoxe wrote: »
    thx loopy, its working now. linux is sometimes a headache for me. like why does mint when i boot it up recognise my usb stick and web cam .... but if i boot into Ubuntu i get neither of those ?
    \
    they just both installed that way.... i really don't want to start googling problems, im too lazy, but i will, i just wish i didn't have to ;)

    If mint works then why bother with Ubuntu?

    Also, that wifi connection that Loopy mentioned is not quite correct unless he is talking about some really old system. Once linux knows about a connection it will try to connect to it anytime it is in need of a connection, there's no need to do a harry potter to get it to work, it's automatic. Many years ago some wifi chips needed patching to get them to work but I haven't come across any that didn't work automatically with Linux since then.

    Linux Mint 17 was just released although I've been using the RC version for the last couple of weeks. I just installed it onto one of those combo notebook tablets (Medion P2212T) and after adding the "onboard" on-screen configurable keyboard it works really well as a Linux Tablet without the need for the base. It's FHD and has 2 regular USB port itself as well as a 64GB SSD + microSD. The base also has a 500G HDD plus extra battery and ports etc but I'm pleased that I now have a tablet that can run Linux and all my Prop development tools etc.

    BTW, I use unetbootin to "burn" live linux iso images onto USB flash drives or cards.
  • whiteoxewhiteoxe Posts: 794
    edited 2014-05-31 08:18
    yeah PJ, thx. I am not bothering with Ubuntu, had a reason for going into it but ive forgotten why. Im actually finding Mint very good. A big thanks for instaslling it ;) and im going to power that new robot platform with the gadget gangster prop board.
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2014-05-31 09:57
    My wifi knowledge in LInux is a bit odd. Part of it was acquired for early eeePC notebooks, and the other part was acquired from installing Linux firmware into my ASUS wifi router. Both required a bit of extra effort to get installed.

    If you ever desire a Linux wifi router, take a look at OpenWRT for all sorts of interesting software and custom enhancements to your router.

    Every distribution of Linux has a bit of a different idea about what it feels is good security and about what should be the boot up provided features. Ubuntu tends to try to include much more than Mint and maybe is a bit more concerned about abuses to open USB port at boot.

    Sooner or later, one acquires enough knowledge to get any Linux distrobution working exactly the way one wants. But it takes time. And even then, it is nicer to start with something that is closer to what you desire.
  • whiteoxewhiteoxe Posts: 794
    edited 2014-06-02 22:06
    Im trying to run the editors simpleIDE and Basic Samp editor under Mint by using WINE rather than the more involved VirtualBox. I got widowS notepad and also windows picasa running, so easy !

    I have the Spin tool running, SimpleIDE running and Stampw.exe , all goes well until i build or try and download to the device then i get an error "cant find serial port" for the BS2 editor and a 'Build error' for simple IDE.

    I did install the drivers FROM pARRALAX into WINE. tHIS IS PROBABLY A QUESTION I NEED TO POST ON A wine forum.


    EDIT: actually when i run the basic stamp editor and try to 'Identify' i get the message "Serial port already in use" ??
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2014-06-02 23:26
    Well the problem in WINE is that serial ports open differently in Windows and Unix/Linux systems.

    So you have to have an interface adapt the Windows solution to the underlying Linux resource. Years ago, I tried WINE and found this to be an issue. So I decided to avoid it.

    But the installation supposedly has improved to allow the inclusion of a serial port for a long time now.

    It is an ongoing installation issue that is best solved by contact with WINE and learning how the conventional LInux serial port is established.

    Of course these days the problem might be a snag on finding the USB to serial driver. Be sure you can locate a USBtty0 in the /dev directory when you have an active USB to serial device plugged in.

    I can't help much more than that. I don't use WINE.

    https://forum.winehq.org/viewtopic.php?f=8&t=18385
  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2014-06-03 00:57
    whiteoxe wrote: »
    Im trying to run the editors simpleIDE and Basic Samp editor under Mint by using WINE rather than the more involved VirtualBox. I got widowS notepad and also windows picasa running, so easy !

    I have the Spin tool running, SimpleIDE running and Stampw.exe , all goes well until i build or try and download to the device then i get an error "cant find serial port" for the BS2 editor and a 'Build error' for simple IDE.

    I did install the drivers FROM pARRALAX into WINE. tHIS IS PROBABLY A QUESTION I NEED TO POST ON A wine forum.

    EDIT: actually when i run the basic stamp editor and try to 'Identify' i get the message "Serial port already in use" ??


    The idea of WINE is that it is "Wine Is Not an Emulator" so you don't "install" drivers, that's at the Linux level and Linux never seems to be bothered with any USB thing I may plug in anyway. I know even Windows would beep and burp everytime I plugged in a USB Flash drive "Installing drivers" message etc but Linux just works without the fuss. Also, unlike Windows which gives each and every different serial USB another COM port that you have to somehow find, Linux instead just comes up with sensible ttyUSB0 for the only device plugged in, ttyUSB1 if another device is plugged in etc and it doesn't matter if you unplug them and then plug them back in, there is no need to "reconnect", it's just automatic.

    Now if you really really want to use Wine with USB serial you need to symlink them into wine initially like this:
    ln -s /dev/ttyUSB0 ~/.wine/dosdevices/com1
    You may need to plug in your serial cable first so that ttyUSB0 exists when you create the symlink
  • TorTor Posts: 2,010
    edited 2014-06-03 01:52
    Now if you really really want to use Wine with USB serial you need to symlink them into wine initially like this:
    ln -s /dev/ttyUSB0 ~/.wine/dosdevices/com1
    Worth repeating (the above), it's that simple these days! :)
    HOWEVER, it may be a com1 there already. Better go and look first. On my system (I haven't visited that .wine directory for a long time), I found this, among other things (ls -l in .wine/dosdevices/):
    lrwxrwxrwx com1 -> /dev/ttyS0
    lrwxrwxrwx com2 -> /dev/ttyS1
    lrwxrwxrwx com3 -> /dev/ttyS2
    lrwxrwxrwx com4 -> /dev/modem
    
    In other words, com1 has already been set up as a symlink and not to the USB servial device. So in my case that command should probably be something like
    ln -s /dev/ttyUSB0 .wine/dosdevices/com5
    
    OR I should re-arrange it (e.g. move or remove the symlinks to the ttyS* devices before pointing com1 to ttyUSB0)
    You may need to plug in your serial cable first so that ttyUSB0 exists when you create the symlink
    The command will work fine as written (taken into consideration any need to change comX), whether ttyUSB0 exists at that time or not, but it's arguably easier to type it if it does exist - you can write 'ln -s /dev/ttyU<tab>' and it will tab-expand to the right name with less chance of spelling error.

    -Tor
  • whiteoxewhiteoxe Posts: 794
    edited 2014-06-03 11:29
    4am, can't sleep....thx for the help, just searched problem as well and came up with same solutions ...http://ubuntuforums.org/showthread.php?t=1335098 , might crawl over to PC and fix ;)
  • whiteoxewhiteoxe Posts: 794
    edited 2014-06-03 19:41
    Below is my attempt at getting the usb/serial ports working...

    ""doom@doom ~ $ ln -s/dev/ttyUSB0 ~/.wine/dosdevices/com1
    ln: invalid option -- '/'
    Try 'ln --help' for more information.
    doom@doom ~ $ ln -s /dev/ttyS0 ~/.wine/dosdevices/com1
    doom@doom ~ $
    doom@doom ~ $
    doom@doom ~ $ ln -s /dev/ttyS0 com1
    doom@doom ~ $ ln -s/dev/ttyUSB0 ~.WINE/DOSDEVICES/COM1
    ln: invalid option -- '/'
    Try 'ln --help' for more information.
    doom@doom ~ $
    doom@doom ~ $ ln -s /dev/ttyS0 ~/ .wine/dosdevices/com4
    ln: target ‘.wine/dosdevices/com4’ is not a directory
    doom@doom ~ $ ln -s /dev/ttyS0 ~/.wine/dosdevices/com1
    ln: failed to create symbolic link ‘/home/doom/.wine/dosdevices/com1’: File exists
    doom@doom ~ $ ln -s /dev/ttyS0 ~/.wine/dosdevices/com2
    doom@doom ~ $
    ""

    still same error messages. must try harder !!!
Sign In or Register to comment.