[How To] Running Linux on a Windows Machine - Barnes & Noble Nook Tablet

A lot of the development that has (is) taken place for our Nook's is performed by the developers in Linux. As such there are a few posts in the development thread that offer "Linux Only" solutions.
We already have the Original ClockWorkMod (CWM) installation instructions, AdamOutlers Ubuntu Recovery and others.
People have also been recommended to re-format their bootable SD Cards using a program in Linux called Gparted. I can verify that this program works great but I'm sure I'm in the minority with having access to a Linux Machine. This thread is here to offer some suggestions.
To my knowledge you have these options:
1. Run Linux in a Virtual Machine (VM)
2. Create and boot from a Live CD/DVD
3. Create and boot from a USB Stick
4. Install Linux on a separate machine
5. Dual Boot
I personally run a MAC and run Linux in a VM. I use a program called Parallels. This is NOT a free solution but if any of you run a MAC I can recommend this program highly. However this thread is dedicated to those Windoze Users so let's press on.
Virtual Machines
VM's are great tools that allow you to try almost all available OS's on your machine with no damage being done to the actual file system of the "Host" operating system which in this case is your windows machine. The "Guest" operating system is typically contained in one single file or a single folder so the entire machine can be backed up easily. This method may be a little more advanced then the method's I will outline below but in my opinion it is well worth it. VM's are fun and once you get the hang of them you will be installing a bunch of new operating systems just to "fiddle".I have a version of Dos 6 running in a VM just because I can. LOL
Virtual Box is a free VM for Windows and I believe they even offer pre-built Linux Distro's that you simply download and open once the main VM software is installed.
VMware Player is also free.
Live CD's/DVD's
Live CD's are great for a quick format job's such as those found here in the Forum's. The downside is that they are a little slower and changes you make while the system is running are lost.
Knoppix
Ubuntu is the distribution recommend most. This link brings you to a download page where you can select either a Full Install Version, a Live CD Version or a Flash Drive version.
The LiveCD List Too many to mention. Check it out.
USB Stick
Advantages to a USB stick is that you can make the file system mountable and changes you make to the system can be made persistent meaning the next time you boot your changes will be saved. It is also a tad bit faster then the live CD but a little more difficult to make. Not much though
Ubuntu same link as above.
Linux Live USB Creator is a cool application that you install and it talks you through the steps. Once Installed I believe it will even provide you with a list of available distributions and download it for you. It will then use the download to create a bootable USB stick.
PenDriveLinux is the same premise as Linux Live. It will talk you through the steps.
Full Installation
This method is obviously for more advanced users and requires a computer that you will dedicate to running linux. If you fit these qualifications it is a rather fun experience and a great learning tool.
Ubuntu I'm linking this again because it is the same area you would obtain the Full Version of the software to download.
Linux Distro Watch contains a complete list of the most recent Linux Distro's. Pick a flavor and read up on how to install.
Dual Boot
AdamOutler has suggested that this Section be added. Dual booting is an option that replaces your boot loader with an "option" screen allowing you to select which OS you wish to boot. I honestly can't recommend this to beginners and even though I consider myself more of an advanced user, I have experienced issues with this in the past. Simply put if that boot-loader somehow gets corrupted you can render the entire machine inaccessible. Mind you it has been a LONG time since I used a dual-boot solution and I'm sure the methods have improved significantly over the years. Adam has mentioned that the Live-CD and USB-Stick versions offer you the option to install the boot-loader now. Like I said, once I went to VM's I haven't looked back but this IS a viable option if you are so inclined. The advantage would be that your Linux Distro would run at full speed and would be just like having your own Linux workstation without the need to purchase or obtain additional hardware. Simply select the OS you wish to run (Windows, Linux, ETC.) and boot into that OS. Adam's post can be viewed HERE. Thanks Adam!
User Suggestions
Wubi was recommended by Veronica (Lavero.Burgos). It looks like it may be a pretty easy (and Cool) option. Give it a shot! Thanks Veronica!
Know-Fear has offer some additional Instructions in This Post. Good Information there. Give him a thanks!
Birdsbeaks recommends NOT taking the easy road if you are truly interested in "learning" Linux. He suggests that you start with a distro that has a "steeper learning curve". One of his recommendations was Slackware. He also prefers MINT over Ubuntu as he feels it is less "proprietary". You can read his full comment HERE.
By no means is this list even close to complete. I simply wanted to give you a starting point and the rest is up to you. I have tried a few of these solutions in the past but since moving to a VM solution that is where I stand. Since it has been awhile, your mileage may vary (YMMV) but this should get you started.
If you have questions feel free to post them and I will do my best to help you along but the best way to learn is to experiment on your own.
If anybody has tried other versions or solutions feel free to post them and I will update the Original Post (OP).
Have fun and good luck!

****Reserved*******

I choose to dual boot windows 7 and Ubuntu.
All the options you mentioned work. Probably a live CD or USB would be the best bet for most people, since most probably wont spend alot of time on it.

@LandMaster you forgot Wubi, also have anyone tested Ubuntu 12.04 LTS alpha? So far im researching about Cinnamon Linux Mint 12 which looks promising .
~ Veronica

lavero.burgos said:
@LandMaster you forgot Wubi, also have anyone tested the new 12.04 LTS alpha of Ubuntu? So far im researching about Cinnamon Linux Mint 12 which looks promising .
~ Veronica
Click to expand...
Click to collapse
Added. Thanks!! Looks cool. I had never heard of it

What is this Windows you speak of.

don't forget to add in the full installation that most Live CDs and USB sticks will give you the option to run "side-by-side" or "Dual-boot". Personally, I'd just wipe Windows from the computer, if you need it back for some reason just use your quick restore disks.
I run a dual boot on my netbook because I have some hardware that requires Windows. Other than that, I can run about 3 separate virtual machines at the same time within Linux and everything works fine... Windows xp, Windows 7 and OS-X Lion all run fine in virtual machines within Linux. With guest additions, you can make them full-screen or share your desktop with the virtual machine so "Windows" windows appear in the same space as the Linux windows.

AdamOutler said:
don't forget to add in the full installation that most Live CDs and USB sticks will give you the option to run "side-by-side" or "Dual-boot". Personally, I'd just wipe Windows from the computer, if you need it back for some reason just use your quick restore disks.
I run a dual boot on my netbook because I have some hardware that requires Windows. Other than that, I can run about 3 separate virtual machines at the same time within Linux and everything works fine... Windows xp, Windows 7 and OS-X Lion all run fine in virtual machines within Linux. With guest additions, you can make them full-screen or share your desktop with the virtual machine so "Windows" windows appear in the same space as the Linux windows.
Click to expand...
Click to collapse
I added a dual-boot section to the OP. I'm out of thanks for the day. I'll hook you up later.
Totally agree about Windoze. I have a really good laptop that runs Win 7 and it would take me about an hour just to clean the dust off of it.
As this guide is for "beginners" I didn't really want to tell them to forego windows and wipe their boxes. Hopefully they will come around once they have a chance to experiment with Linux.

AdamOutler said:
don't forget to add in the full installation that most Live CDs and USB sticks will give you the option to run "side-by-side" or "Dual-boot". Personally, I'd just wipe Windows from the computer, if you need it back for some reason just use your quick restore disks.
I run a dual boot on my netbook because I have some hardware that requires Windows. Other than that, I can run about 3 separate virtual machines at the same time within Linux and everything works fine... Windows xp, Windows 7 and OS-X Lion all run fine in virtual machines within Linux. With guest additions, you can make them full-screen or share your desktop with the virtual machine so "Windows" windows appear in the same space as the Linux windows.
Click to expand...
Click to collapse
Nice!. Adam i have a question for you, i have a netbook as well HP110CA(that gave to bf) 1GB of ram and im having issues with linux on it. It came with windows XP off course and i had to format it twice because it got viruses while in Canada, so i just wiped out and put ubuntu 10.10 in that time. At first was running ok but eventually it started to freeze, later on upgraded to 11.04 and it messed things up so i decided to try other "light" distro and i put Jolicloud(based on ubuntu) again started running fine but keeps freezing and more often, now i don't know what else to put in i was thinking on Puppy linux lol but im not sure why it freezes that much. When i had it with windows it never froze though but i don't want to go back to windows only if its my last resource. What would you recommend? im starting to think its a hardware failure and that linux is too much for that poor machine .
~ Veronica

Hell yeah but I think I messed up bc i. Put the disk in and restarted and it to me to a black screen with cursor so i even up have to goto bios or cmos one of those and change first boot to dvd so hopefully after I'm done with this I. Can get back to windows hopefully my drive order is correct
___________________________________________
Sent from my PG86100-EVO3D-using Tapatalk Born Jan 5th 84 and still getting it in eeee

Anon9mouz said:
Hell yeah but I think I messed up bc i. Put the disk in and restarted and it to me to a black screen with cursor so i even up have to goto bios or cmos one of those and change first boot to dvd so hopefully after I'm done with this I. Can get back to windows hopefully my drive order is correct
___________________________________________
Sent from my PG86100-EVO3D-using Tapatalk Born Jan 5th 84 and still getting it in eeee
Click to expand...
Click to collapse
Yup... When booting from a USB drive or CD the boot order must be set in the bios. I recommend just leaving it as:
1. DVD/CD Rom
2. USB
3. C drive
This way here if 1 & 2 are not attached it will boot from the "C Drive"

I would unplug the hard drive if I were the noobs just in case. That way the noobs wont accidentally wipe their Hard drive

My recommendation for "beginners" would be to try Ubuntu in a Virtual machine ( i use Vmware and love it, has never let me down) and you can still work in your Windows interface, it is also easy to share files between windows and your virtual machine.
It is enough for all the sdcard mods and even adb if you want to set it up there too. I prefer this way rather than Wubi because i can work faster that way, i don't need to reboot to boot into windows, i have all i need in the same place .
~ Veronica

I prefer running either zen-mini or pclos gnome in virtualbox myself

Anon9mouz said:
Hell yeah but I think I messed up bc i. Put the disk in and restarted and it to me to a black screen with cursor so i even up have to goto bios or cmos one of those and change first boot to dvd so hopefully after I'm done with this I. Can get back to windows hopefully my drive order is correct
___________________________________________
Sent from my PG86100-EVO3D-using Tapatalk Born Jan 5th 84 and still getting it in eeee
Click to expand...
Click to collapse
This happens when you use a 64 bit Linux on a 32 bit system. Also when you have a bad copy. Burn at a lower speed. Try redownloading.

AdamOutler said:
...
I can run about 3 separate virtual machines at the same time within Linux and everything works fine... Windows xp, Windows 7 and OS-X Lion all run fine in virtual machines within Linux.
...
Click to expand...
Click to collapse
It's been a couple years since I tried running OSX on non-apple hardware / in a vm. Can you point me to a good resource for this?

I don't always use virtual machines, but when I do, I use VirtualBox. Mostly because it's free.
I have ubuntu 11.10 on my netbook and, while I like the interface, it seems like things get a little slugish at times. Anybody out there know of a good distro for netbooks?

RadicalAns said:
I don't always use virtual machines, but when I do, I use VirtualBox. Mostly because it's free.
I have ubuntu 11.10 on my netbook and, while I like the interface, it seems like things get a little slugish at times. Anybody out there know of a good distro for netbooks?
Click to expand...
Click to collapse
I don't always drink beer, but when I do... Oh wait .... getting sidetracked..
I just did a quick search and believe it or not Ubuntu leads the ranking's on This Page
I remember putting the "Netbook Remix" on an older netbook and it ran OK but not great from what I recall. From quickly glancing at this article it sounds like that version has been merged with the main distribution. You may be able to locate a copy of it though and try it out.

Yeah I really like 11.10 for my netbook. I think I may end up just upgrading the ram on the little bugger. It's nice having a Linux machine that I can muck around on while watching TV w/ the wife.

lavero.burgos said:
Nice!. Adam i have a question for you, i have a netbook as well HP110CA(that gave to bf) 1GB of ram and im having issues with linux on it. It came with windows XP off course and i had to format it twice because it got viruses while in Canada, so i just wiped out and put ubuntu 10.10 in that time. At first was running ok but eventually it started to freeze, later on upgraded to 11.04 and it messed things up so i decided to try other "light" distro and i put Jolicloud(based on ubuntu) again started running fine but keeps freezing and more often, now i don't know what else to put in i was thinking on Puppy linux lol but im not sure why it freezes that much. When i had it with windows it never froze though but i don't want to go back to windows only if its my last resource. What would you recommend? im starting to think its a hardware failure and that linux is too much for that poor machine .
~ Veronica
Click to expand...
Click to collapse
Can someone help me with this one plz i don't know what else to install it lol oh well maybe i end up going back to windows XP.. sigh
~ V

Related

linux distros?

What can be run on the hero?I have tried fedora and ubuntu as wwell as yellow dog on my ps3 and wondered if ubuntu could be installed on my hero
i have run several flavors of ubuntu with success. basically you can run every distro that has an arm compiled release...
ok thanks! how did they run? which do you prefer and where do i start lol i have read i need a kernel with loopbaack support is this true?
http://www.villainrom.co.uk/viewtopic.php?f=24&t=327
here is a very nice writeup how to do it with bind mounts and ext partitions on your sdcard.
tbh, it is all painfully slow. expect five to ten minutes startup time for a graphical desktop. all the graphical stuff is more like a proof of concept. the interesting part is with the command line tools, all those you know are there. i haven't tested it very extensivly, can't say anything about performance. i did get a gnome desktop via vnc from my phone

Dev or User - VMware inside Android, Android inside VMware on desktop computers

This isn't a guide, more an informative post and discussion for Android application and platform developers, AND regular users. Maybe a guide in the future will be a goal of mine.
Some of you may or may not know what VMware is, what it is for, or never used it. Trying to keep the OP brief; VMware is a virtualization solution(s) for desktops and servers. In layman's terms it allows an operating system to be run inside another operating system, instead of setting your desktop to dual boot (have an option at startup to load either windows or Mac as example). There are many applications and benefits to this kind of solution that I won't get into in the OP.
Currently there are solutions available and being built, but are not yet completely optimized, but you can do it. For a developer this means you can be developing Android applications or platforms on whatever OS you want by virtualizing the OS and software currently supported. It also means that you can replace the Android virtual emulator with an Android OS inside VMware for application development, but also means you can load your Android platform into VMware for testing while you develop. Why would you want to do this? Well we all know how painful slow the emulator is, and it is just made worse if your hardware is slow. Because the emulator emulates software running on an arm processor inside an x86 environment things are slow, which means your development is slowed. Using VMware however you are using binary translation to "port" your platform to x86 processing. Currently this solution is not completely optimized, or "official" but it will be. That means less development time, more support, and a more convenient option!
The other edge of the sword is also a VMware virtual machine environment inside Android's Dalvik virtual machine. For users, and developers in certain scenarios this opens even more possibilities. Imagine having the ability to use your personal Android, and that pesky dumbed down corporate phone running together, the corporate advice running inside your personal device, or vice versa. Also, the ability to run any other OS in your device. Windows, Linux and UNIX distributions, solaris, Mac, whatever you wish. This opens lots more doors for Android devices.
Now not everything is complete, but it will be. It sounds like VMware will end up and be the de facto standard for virtualization for Android, as the solution is in the works for google to put VMware into the Android core, in the kernel. Now that would be sweet, because if you have used VMware you probably agree with me that it is THE virtualization solution in any application or solution you need it in.
Maybe this isn't as exciting to others as it is for me. What do you guys think? Let the topic begin!
The following links are meant more to cite my sources, but each one of them is a more detailed read into the topic, and well worth reading to inform yourself and see what is in the works:
http://i.downloadsquad.switched.com/2011/02/15/android-dalvik-vmware-virtualization/
http://gigaom.com/2011/09/27/vmware-mobilize-201/
http://www.android-x86.org/
Run ICS in x86!
gborn said:
Currently a thread about running ICS x86 in Virtualbox is spreaded here:
http://forum.xda-developers.com/showthread.php?p=19815659#post19815659
And I managed at least to create a version of ice cream sandwich running in VMware workstation 7 (should run also in VMware player 3 and 4 and in Workstation 8 as well). The steps to convert the Virtualbox image to VMware are described here.
http://www.borncity.com/blog/2011/11/29/running-ice-cream-sandwich-in-vmware/
Click to expand...
Click to collapse
I use VMware and vSphere at work to manage a bunch of our servers. I'll have to check in with the guy at work who actually implements/sells this to customers to see what he thinks. It seems interesting for sure though.
DoctorComrade said:
I use VMware and vSphere at work to manage a bunch of our servers. I'll have to check in with the guy at work who actually implements/sells this to customers to see what he thinks. It seems interesting for sure though.
Click to expand...
Click to collapse
I don't know if it applies to what your doing, but it is pretty cool to be able to use VMware on your mobile device. If you are managing virtual servers there is already an official solution from VMware you can download from the Android market. It is called VMware view, for Android. Pretty cool.
There is a thread currently at top, with 30 people saying the solution wanted is impossible. You are wrong guys, not impossible at all. You can have windows and Android booting on the same device. Arm processor, x86, doesn't matter with this solution.
Sad Panda said:
There is a thread currently at top, with 30 people saying the solution wanted is impossible. You are wrong guys, not impossible at all. You can have windows and Android booting on the same device. Arm processor, x86, doesn't matter with this solution.
Click to expand...
Click to collapse
Nothing is impossible, but where are you going to get a bootloader, Windows binaries, and SoC drivers?
EGOvoruhk said:
Nothing is impossible, but where are you going to get a bootloader, Windows binaries, and SoC drivers?
Click to expand...
Click to collapse
Well in terms of doing dual boot natively, I agree, probably never going to happen...ever. However if you run it in a virtual machine, just like Android runs in the Dalvik virtual machine, it can be done.
The bootloader and drivers are already built and would be taken care of by VMware. You make or hint at a valid point, there would never be enough desire for anyone to do it natively. It isn't impossible, but just would never see anyone take the time to do it
Ice Cream Sandwich x86 in VMware
Currently a thread about running ICS x86 in Virtualbox is spreaded here:
http://forum.xda-developers.com/showthread.php?p=19815659#post19815659
And I managed at least to create a version of ice cream sandwich running in VMware workstation 7 (should run also in VMware player 3 and 4 and in Workstation 8 as well). The steps to convert the Virtualbox image to VMware are described here.
http://www.borncity.com/blog/2011/11/29/running-ice-cream-sandwich-in-vmware/
gborn said:
Currently a thread about running ICS x86 in Virtualbox is spreaded here:
http://forum.xda-developers.com/showthread.php?p=19815659#post19815659
And I managed at least to create a version of ice cream sandwich running in VMware workstation 7 (should run also in VMware player 3 and 4 and in Workstation 8 as well). The steps to convert the Virtualbox image to VMware are described here.
http://www.borncity.com/blog/2011/11/29/running-ice-cream-sandwich-in-vmware/
Click to expand...
Click to collapse
Bingo! Awesome contribution! Yeah this is one of the two examples I speak of, Android running on an x86 CPU (instead of arm like our phones and tablets) running as virtualization of hardware. Great reply to back me up, and even a guide to boot, AND ics!! If you must play with ICS before it gets to evo 3D
Added the ICS in VMware to OP.
I have tried this a few way and in no way can i get it to work on VMWARE gets stuck on found androidx86
Sad Panda said:
Added the ICS in VMware to OP.
Click to expand...
Click to collapse
works fine, just make sure you follow the steps to the t and convert the .vdi images to .vmdk to run smoothly in vmwareplayer (the link to instructions is kinda hidden away)
i used virtualbox to convert, then vmplayer to run the vmdk
thanks for the info... fun to play around with
digitaljeff said:
works fine, just make sure you follow the steps to the t and convert the .vdi images to .vmdk to run smoothly in vmwareplayer (the link to instructions is kinda hidden away)
i used virtualbox to convert, then vmplayer to run the vmdk
thanks for the info... fun to play around with
Click to expand...
Click to collapse
No problemo
heres some links to the vmdk images to work in vmplayer, dont thank me, thank the guy who wrote the guide on converting vdi to vmdk
ICS vmdk
http://www.megaupload.com/?d=FZWH3G20
SD card vmdk
http://www.megaupload.com/?d=15TLJZ87

Need help with Ubuntu

Hey guys,
I need some help. I downloaded Ubuntu 11.10 because I heard 12.04 is not as good and I need some help with the installation. I want to keep Windows 7 on my PC as well as boot Ubuntu.
So I just need to figure out how to set it up so it gives me a prompt as to which OS I want to boot...Virtualize simply. haha
Also I am not very familiar with Linux' file system so I also may need some assistance in installing the SDK, JDK, ect.
I thought you said you were a dev over in the Epic sub forums. If you were a dev, Linux and bootloader installs should be second nature.
Sent from my SPH-D700 using Tapatalk 2
You can use the wubi installer that should be on the ubuntu DVD ISO that you downloaded.
DroidModder said:
Hey guys,
I need some help. I downloaded Ubuntu 11.10 because I heard 12.04 is not as good and I need some help with the installation. I want to keep Windows 7 on my PC as well as boot Ubuntu.
So I just need to figure out how to set it up so it gives me a prompt as to which OS I want to boot...Virtualize simply. haha
Also I am not very familiar with Linux' file system so I also may need some assistance in installing the SDK, JDK, ect.
Click to expand...
Click to collapse
The Ubuntu installer should handle all that. Since you already have windows you just need to shrink the windows partition to make room for Ubuntu and install Ubuntu to the free space. Once installed Ubuntu uses the grub bootloader which will give you the option of which system to boot into everytime you start up the computer.
As far as commands and installing stuff goes you may as well start reading up on it. You'll need to know how to use the Terminal to develop in Linux. Its not complicated once you learn common commands, etc. Also, I recommend using Gnome classic or kde as your desktop environment if you want something that looks similar to Windows. I'm a KDE person myself.
Sent from my SAMSUNG-SGH-I777 using XDA
1º Windows
2º Ubuntu!
I'm building on12.04 with zero problems...just my $0.02. And like the other's said just install Ubuntu takes care of all that stuff.
Oh and ALWAYS create a backup before you start installing new OS's!
I wanna dual boot though and I prefer Ubuntu 11.10 lol
Droid Syndicate
Leader/Founder
DroidModder said:
I wanna dual boot though and I prefer Ubuntu 11.10 lol
Droid Syndicate
Leader/Founder
Click to expand...
Click to collapse
When I get on a computer I'll write up how I got my laptop to dual boot Windows and Ubuntu. I've actually got it triple booting Mac OSX as well.
私のEVO 3Dから送信される。
to setup a dual boot system, u only need a free partition to install linux. a very basic linux installation u have to create root partition and swap partition. u can find installation guide online, its not that hard to setup a dual boot between linux and windows.
Okay cool. Because id like to get into Rom development,etc so I need Ubuntu or Mac OS X. Not too sure which ones better though. I assume Ubuntu is because its Linux and that's Android runs on
Droid Syndicate
Leader/Founder

[Q] Suggested Dev Laptop Software Specs

I will be buying a new laptop for developer purposes. I will be having a dual boot set up with linux and windows. Which linux would be ideal for all around android development, just the latest ubuntu? And windows XP or 7? And I will probably have a 250 GB hard drive, any suggestions for partition sizes for windows and linux? I will be using the windows side for personal use as well.
blu422 said:
I will be buying a new laptop for developer purposes. I will be having a dual boot set up with linux and windows. Which linux would be ideal for all around android development, just the latest ubuntu? And windows XP or 7? And I will probably have a 250 GB hard drive, any suggestions for partition sizes for windows and linux? I will be using the windows side for personal use as well.
Click to expand...
Click to collapse
Ubuntu would be your best choice for compiling Android from source and overall Android development, as far as what version you can use the latest version of Ubuntu 13.04 just fine if you follow this guide to setting up the development environment on Ubuntu 13.04. For the version of Windows I would definitely go with Windows 7 there is no need to use XP an more, and most program that run on XP will run just fine on Windows 7. A 250 GB hard drive is pretty small for Android development and Windows, as a complete set of builds compiled from source can take up 50 GB + of space easily. If you can get a larger hard drive I would recommend doing so, also the faster the CPU and the more RAM (I would recommend 8 GB) you have the faster compiling times will be. However if you have to go with the 250 GB hard drive (Keeping in mind formatted capacity will be less but for convenience of numbers we'll say all 250 GB is usable) I would devote around 125-150 GB to the Linux partition and the other 125-150 GB to the Windows partition.
shimp208 said:
Ubuntu would be your best choice for compiling Android from source and overall Android development, as far as what version you can use the latest version of Ubuntu 13.04 just fine if you follow this guide to setting up the development environment on Ubuntu 13.04. For the version of Windows I would definitely go with Windows 7 there is no need to use XP an more, and most program that run on XP will run just fine on Windows 7. A 250 GB hard drive is pretty small for Android development and Windows, as a complete set of builds compiled from source can take up 50 GB + of space easily. If you can get a larger hard drive I would recommend doing so, also the faster the CPU and the more RAM (I would recommend 8 GB) you have the faster compiling times will be. However if you have to go with the 250 GB hard drive (Keeping in mind formatted capacity will be less but for convenience of numbers we'll say all 250 GB is usable) I would devote around 125-150 GB to the Linux partition and the other 125-150 GB to the Windows partition.
Click to expand...
Click to collapse
so you would do the partitions half and half.
even if i were to get a 1tb
blu422 said:
so you would do the partitions half and half.
even if i were to get a 1tb
Click to expand...
Click to collapse
If you were to get a 1TB I would still do the partitions half and half, will you be using Windows for gaming or content creation? If your going to be using Windows for gaming or content creation what I might do is split the storage 60-70% Windows and and 30-40% Linux which would still give you approximately 250 GB of Linux partition space.
blu422 said:
I will be buying a new laptop for developer purposes. I will be having a dual boot set up with linux and windows. Which linux would be ideal for all around android development, just the latest ubuntu? And windows XP or 7? And I will probably have a 250 GB hard drive, any suggestions for partition sizes for windows and linux? I will be using the windows side for personal use as well.
Click to expand...
Click to collapse
Windows XP is really out of date. Modern hardware is not going to be supported very well. Sure you can use it, but I woudln't suggest it for daily. Windows 8 isn't new anymore and most of the workarounds have been devised... no reason to stay 7.
I strongly suggest you investigate your laptop choices as to how easily the hard drive can be swapped in/out. Even one with a DVD/Blu-Ray on a bay that can take a second hard drive. It's ideal to keep the Windows on it's own drive and let you have as many Linux installs you want. Go all GPT partitions these days and I suggest learning EFI if you are going to be a developer
A Small SSD - like 128GB can be $100 or less these days and it's amazing how fast you can copy and duplicate a Linux install and have a GRUB2 menu with many Linux systems. Linux can easily run in a 12GB or 16Gb partition if you put your home and dev stuff on a common working partition. (Fedora 18/19, Ubuntu 13.04, etc). And start to work with virtual machines
Hard drive swapping is so much better than the endless time people spend trying to correct screwed-up Linux installs. it can make playing with new releases fun and easy without worry of trashing your everyday OS install.

Linux Help Thread

So since beaups has announced that s-off for 2.06 will be for Linux only, a lot of people are preparing by either trying to set up a Linux partition or Live DVD/USB. I just thought I'd make a thread for general info and help getting it working properly. I'm not going to go super in-depth with this because there's a plethora of information online this is more just for some tips to get you started.
Disclaimer: Make sure your computer is backed up before doing this. You shouldn't run into any problems that will screw it up, but you never know what could happen. Better safe then sorry, right? If your computer explodes, it's not my fault.
Some general info about LInux
Essentially, Linux is just a kernel. Android is based off the Linux kernel, and your cable box, router, and most web servers probably are as well... And a lot of other things you might not think of.
Desktop Linux has what are called distrinutions. These are basically the equivalent of Android ROMs, just operating systems based on Linux. If you are just starting out, you probably want to use Ubuntu or Linux Mint as they are the most user-friendly.
Making the Live DVD/USB
-First you obviously need the iso. Here is a link to the Ubuntu download: http://www.ubuntu.com/download/desktop
-Unless you have a computer that doesn't support 64-bit, just get the 64-bit download. If you have a UEFI-based computer, you definitely want the 64-bit iso because it's UEFI native, which will make things easier, and you will also want to read this: https://help.ubuntu.com/community/UEFI
-If you're trying to boot the Live DVD on a Mac, you also want the 64-bit iso, and you need rEFIt: http://refit.sourceforge.net/
-If you just want to boot from the DVD, you can burn it with pretty much any DVD burning software. If you want to make a live USB, use unetbootin: http://unetbootin.sourceforge.net/ or Pendrive Linux: http://www.pendrivelinux.com/category/usb-creator/
Installation
-If you only plan on using Linux once to s-off your phone, you don't really need to do this, just use the Live DVD.
-If you haven't already, you probably want to hook up an ethernet cable to your computer in case the wireless drivers aren't available.
-If you actually want to install it on a PC, it's pretty straightforward, just use the "Install Ubuntu alongside Windows" option, unless you want to partition it manually with the "Something else" option (I won't go into that here).
-If you want to install it on a Mac, you will need rEFIt, which I already mentioned. You also need to add a fat32 partition to your drive that you will reformat to ext4 with the Ubuntu installer. Install rEFIt, reboot twice and then you should see the rEFIt boot menu where you can choose your live disc. One very important thing about this: If you are installing Linux to the same drive as an OS X installation, DO NOT choose the "install alongside" option. It will break your install. Use the "Something else" option. By default, Linux wants to install grub to the MBR, but you need to reformat your fat32 partition to ext4 instead and install it to that partition. Then you can just boot into it with rEFIt. The rest is pretty much the same as installing it on a PC.
Post-install
-At this point, it's going to want to install some updates and maybe some proprietary drivers it may need and that's it. Really all you need to do after this is install the android drivers. The easiest way is to use apt-get which is basically a package installer for everything in Ubuntu's software repos. Open up Terminal, and type in: sudo apt-get install android-tools-adb android-tools-fastboot. Hit enter, type in your password, then it will ask you to confirm and blah blah blah and then it will download and install it. That's really it. I don't know what else may be necessary at this point since the s-off tool hasn't been released yet.
Some other links that may be helpful:
-Dual-boot on PC: http://www.linuxbsdos.com/2012/05/17/how-to-dual-boot-ubuntu-12-04-and-windows-7/
-Dual-boot on Mac: http://lifehacker.com/5934942/how-t...-and-take-back-your-powerhouse-apple-hardware
-Triple-boot on Hackintosh: http://lifehacker.com/5698205/how-to-triple-boot-your-hackintosh-with-windows-and-linux
-If you want to build a ROM from the source (Ubuntu 12.04): http://forums.androidcentral.com/ve...99-guide-ubuntu-compiling-android-source.html
-Linux forums, the folks here are very helpful: http://www.linuxforums.org/forum/
-Terminal basics: https://help.ubuntu.com/community/UsingTheTerminal
I hope this is helpful. If anyone has any suggestions to add to this post feel free.
EDIT: One more thing! If you are asking for help, please post what computer you are using, the specs, and whether it is BIOS-based or UEFI-based.
Nice write up thanks for sharing this will help a lot of folks
Sent from my Liquid Smooth Nexus 7
Nice write up but can you link me where beaups said that? If that's true that sucks.
Sent from my HTC6435LVW using Tapatalk 4 Beta
deathrow1992 said:
Nice write up but can you link me where beaups said that? If that's true that sucks.
Sent from my HTC6435LVW using Tapatalk 4 Beta
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=42118877&postcount=601
Be grateful that you are getting s-off for free.
kern3l said:
http://forum.xda-developers.com/showpost.php?p=42118877&postcount=601
Be grateful that you are getting s-off for free.
Click to expand...
Click to collapse
LOL? Because I am unfamiliar with linux I'm ungrateful? I never said if moonshine is linux only im going to destroy beaup's face or anything like that, jeez. Now I see why people from androidforums would amputate a leg before they come over here. So hostile.
Thanks for the link though.
deathrow1992 said:
LOL? Because I am unfamiliar with linux I'm ungrateful? I never said if moonshine is linux only im going to destroy beaup's face or anything like that, jeez. Now I see why people from androidforums would amputate a leg before they come over here. So hostile.
Thanks for the link though.
Click to expand...
Click to collapse
I think he took it as "if its Linux only then the method sucks" while I can see that your just trying to say you wish it was on windows as well but whatever, it can be taken as as much more negative thing... Remember attacking back only causes more hostility let's all please get along.
Sent from my Galaxy Nexus using Tapatalk 4 Beta
He never really said it's Linux only... Simply hinted it. For all we know he may be delaying to get a windows version working.
Sent from my HTC6435LVW using xda app-developers app
Ok so I am trying to dual boot windows 8 and linux mint 15. I have an ASUS X55C laptop that cane preloaded with Windows 8. I made a liveusb that works great but now is like to dual boot. After i install linux mint I restart and choose to run mint as the os. Then I get this message. Also here is the guide I followed to install mint
http://www.howtogeek.com/99060/how-to-dual-boot-windows-8-and-linux-mint-on-the-same-pc/
Windows has failed to start. A recent hardware or software change might be the cause. To fix the Problem
1. Insert Windows installation disc and restart your computer. 2 Choose your language settings and click next. 3, Click repair your computer.
If you do not have this disc, contact your system administrator or computer manufacturer for assistance
File: \linuxmint\winboot\wubildr.mbr
Status 0xc000007b
Info: The application or operating system couldn't load because a required file is missing or contains errors
EvolutionXJ
Level 1
*
Posts: 3
Joined: Wed Jun 05, 2013 3:58 pm
Sent from my HTC6435LVW using xda app-developers app
Does windows still start? Did you use the 32 bit or 64 bit version of mint?
Also does your computer have uefi?
Sent from my DNA using Tapatalk 2
jamiethemorris said:
Does windows still start? Did you use the 32 bit or 64 bit version of mint?
Also does your computer have uefi?
Sent from my DNA using Tapatalk 2
Click to expand...
Click to collapse
Yes windows will still start up and linux will still start up from my usb. Im actually on linux through my liveusb now. I downloaded the 64bit linux since my laptop came pre downloaded with a 64 bit windows 8. ALso it is a UEFI. I have secure boot disabled as well. I just am confused as to why it runs fine from my usb. But wont run when its installed to my computer.
Using Android Tools on Ubuntu 12.04
Native Ubuntu 12.04 installed on a bootable memory stick needs also to reference the repository that the tools are located.
Once you have booted into Linux, then execute the following commands from a terminal window
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install android-tools-adb android-tools-fastboot
deathrow1992 said:
LOL? Because I am unfamiliar with linux I'm ungrateful? I never said if moonshine is linux only im going to destroy beaup's face or anything like that, jeez. Now I see why people from androidforums would amputate a leg before they come over here. So hostile.
Thanks for the link though.
Click to expand...
Click to collapse
lol i forgot about androidforums, that was the first place i used to post
i eventually came over to xda cuz all the developers at the time only supported their work here
EvolutionXJ said:
Yes windows will still start up and linux will still start up from my usb. Im actually on linux through my liveusb now. I downloaded the 64bit linux since my laptop came pre downloaded with a 64 bit windows 8. ALso it is a UEFI. I have secure boot disabled as well. I just am confused as to why it runs fine from my usb. But wont run when its installed to my computer.
Click to expand...
Click to collapse
That's really strange. Do you have an option for legacy bios in your bios or anything like that you can change?
Sent from my DNA using Tapatalk 2
jamiethemorris said:
That's really strange. Do you have an option for legacy bios in your bios or anything like that you can change?
Sent from my DNA using Tapatalk 2
Click to expand...
Click to collapse
Just checked for legacy boot. Don't have it. SO secure boot is still off in the UEFI. This is going to drive me crazy...
EvolutionXJ said:
Just checked for legacy boot. Don't have it. SO secure boot is still off in the UEFI. This is going to drive me crazy...
Click to expand...
Click to collapse
Hopefully someone else will have some more insight, for now I have to go to class. I'll look into it more when I get home.
Sent from my DNA using Tapatalk 2
I didn't see anything about Linux only in the new moonshine thread. Is this still necessary?
If the other guy is like me rooting a phone is the absolute limit of our technical abilities. Now I have to learn to change things on my desktop? I'm grateful, but I'd rather pay for a windows version than go messing around with my desktop. I guess I'll try to learn what livecd is now.
@EvolutionXJ something just occurred to me. Since your PC more than likely has GPT instead of MBR, you may need to use gptsync to sync the partition tables. To so this, boot into your live disc, open the terminal, and type sudo apt-get install gptsync. After it installs, do sudo gptsync /dev/sda. I had an issue similar to yours trying to triple boot my netbook and that was the solution. Let me know if you get stuck again.
Also are you using windows boot manager to boot Linux or are you using GRUB (it might be lilo in the case of uefi)
Sent from my DNA using Tapatalk 2
Forget the gptsync thing, I don't think that's the issue. Don't think you would need to do that with a uefi pc
Sent from my DNA using Tapatalk 2
I have Ubuntu booting on my mac through a virtual box and I've never been able to get it to recognize any of my devices. It's usually why I just wait for a Mac method, but I'm super excited to get this bad boy dialed.
Any ideas? I've tried reinstalling Ubuntu and adb multiple times through different methods, but no dice. And yes, I have usb debugging checked. I've also tried 3 different cables and all of my usb ports. Thanks for any help!
Sent from my DNA all in ya mouf

Categories

Resources