HOW TO: Install LINUX with or without windows

PC and MAC news and discussions.

Re: HOW TO: Install LINUX with or without windows

Postby Guest » Thu Apr 21, 2011 6:45 pm

JAHGoVeg wrote:I am at swing right now. =)


Dont even know what that is haha
Guest
 

Re: HOW TO: Install LINUX with or without windows

Postby danny0085 » Sat Aug 20, 2011 3:51 am

Here is a video tutorial how to install ubuntu step by step without deleting Windows
User avatar
danny0085
Next LVL Up at : 5
Next LVL Up at : 5
 
Posts: 1
Joined: Sat Aug 20, 2011 3:50 am
Has thanked: 0 time
Been thanked: 0 time
Fav System: computer

Re: HOW TO: Install LINUX with or without windows

Postby JAHGoVeg » Sat Aug 20, 2011 11:47 pm

thanks for the link. danny
That's me
User avatar
JAHGoVeg
Unlimited Member
Unlimited Member
Next LVL Up at : 850
Next LVL Up at : 850
 
Posts: 810
Joined: Wed Apr 07, 2010 11:19 pm
Location: Somewhere
Has thanked: 63 times
Been thanked: 97 times
Fav System: SNES

Re: HOW TO: Install LINUX with or without windows

Postby Kherr » Mon Aug 29, 2011 6:32 am

I just checked the toplist of all the threads on the site and THIS THREAD is number one... HA! :D

Thanks guys for rating it high! :D :clap:
Image
Image
Image
Image
User avatar
Kherr
Site Admin
Site Admin
Next LVL Up at : 1800
Next LVL Up at : 1800
 
Posts: 1776
Joined: Wed Feb 03, 2010 4:19 pm
Location: Detriot, MI, USA
Has thanked: 617 times
Been thanked: 564 times
Fav System: PC/NES/SNES/Genesis
Steam ID: DAKherr

Re: HOW TO: Install LINUX with or without windows

Postby JAHGoVeg » Mon Aug 29, 2011 10:01 pm

well it as such a great article how could we not?
That's me
User avatar
JAHGoVeg
Unlimited Member
Unlimited Member
Next LVL Up at : 850
Next LVL Up at : 850
 
Posts: 810
Joined: Wed Apr 07, 2010 11:19 pm
Location: Somewhere
Has thanked: 63 times
Been thanked: 97 times
Fav System: SNES

Re: HOW TO: Install LINUX with or without windows

Postby stooby71 » Wed Aug 31, 2011 11:27 pm

danny0085 wrote:Here is a video tutorial how to install ubuntu step by step without deleting Windows


If you decide to 'dual boot' your PC, there are some really useful things you can do to make it easier to switch between the two operating systems. Before you think about doing any of them, you need to do some setup in Linux.

This guide will (hopefully) help you auto mount your Windows disks on Linux.

Now, this might not sound like a useful thing, as the disks get mounted if you try to search their contents anyway. All will become clear on this later. For now, trust me that this is worth doing.

Most people will only have 1 drive in Windows. Some have more. I have 3. In Windows, they are called WINDOWS, DATA1 and DATA2.

It helps to know the size and contents of the disks.

I am running Ubuntu 10.10 so don't have the newest interface. So you will need to hunt this application down yourself if you are using a 'Unity' version of Ubuntu. You need to run an app called 'Disk Utility'. In my version, you click on 'System' -> 'Administration' and it's in there.

When you run it, you can select the different disks on the left, and on the right you are shown the details. If your disks have multiple partitions, you can click on each one and get the names. /dev/sdb1, /dev/stb2 etc.

Once you have your drive names, you need to make the folders that they will be accessed through.

Open a terminal screen and type the following
Code: Select all
sudo mkdir /media/windows

If you have other partitions you want to automatically mount, you need to make folders for them too. On my PC, I also make
Code: Select all
sudo mkdir /media/data1
sudo mkdir /media/data2

You need to make sure these drives will be accessible from your regular user. My user is (unsurprisingly) stooby
Code: Select all
sudo chown -R stooby:stooby /media/windows
sudo chmod -R 755 /media/windows
sudo chown -R stooby:stooby /media/data1
sudo chmod -R 755 /media/data1
sudo chown -R stooby:stooby /media/data2
sudo chmod -R 755 /media/data2

Now to edit a configuration file. Make a backup of it first:
Code: Select all
sudo cp /etc/fstab /etc/fstab.BAK

Now edit the original
Code: Select all
sudo gedit /etc/fstab

The file will look something like this:
Code: Select all
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    nodev,noexec,nosuid 0       0
# / was on /dev/sda5 during installation
UUID=96ce0563-a7fd-48ea-9272-053f03e0699c /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda6 during installation
UUID=e1140290-1027-4010-a298-08e0050d6fcc none            swap    sw              0       0

I suggest sticking a couple of blank lines at the bottom of the file, and adding the following (well, this is what I add for my PC - note the /dev names and the /media names) These lines should work with NTFS formatted disks
Code: Select all
/dev/sda1 /media/data2 ntfs-3g defaults,locale=en_US.utf8 0 0
/dev/sdb1 /media/windows ntfs-3g defaults,locale=en_US.utf8 0 0
/dev/sdc1 /media/data1 ntfs-3g defaults,locale=en_US.utf8 0 0

Now you can test your handy work by rebooting, or typing
Code: Select all
sudo mount -a


Phew, that's enough for now. I shall add more another time, to show how useful this can be.
Consoles owned:
Strika 2 (boxed), GX4000 (boxed), Playstation (boxed), PS1, PS2, X-Box Crystal (boxed), Gamecube, Saturn, Dreamcast, Gameboy Advance, Neo Geo Pocket
Computers owned:
Amstrad CPC464, Amstrad PCW8512 (boxed), Amiga 1200 (boxed), Amiga 500, Commodore 64 (boxed)
User avatar
stooby71
Next LVL Up at : 15
Next LVL Up at : 15
 
Posts: 13
Joined: Thu Aug 18, 2011 9:30 pm
Location: Sussex, England
Has thanked: 11 times
Been thanked: 15 times
Fav System: Video Genie/CPC464/Amiga

Re: HOW TO: Install LINUX with or without windows

Postby crustyasp46 » Thu Sep 01, 2011 1:53 am

Thanks for the tutorial stooby71. From a noob on Linux, running Oz Unity 1.0 x 32bit on main box , Puppy Linux on 2 , 486 AST boxes. Was disappointed with Ubuntu,for lack of support on dial-up but found theses distros which worked fine , out of the box for me. No dual boot for me. Windows went out the window when I decided to make the switch. I'm a slow learner, but enjoy my screw ups, and have made this an adventure of learning for myself,> It keeps the grey matter under the grey mat active! :good: :cheers:
User avatar
crustyasp46
He's Everyones Daddy
He's Everyones Daddy
Next LVL Up at : 1750
Next LVL Up at : 1750
 
Posts: 1716
Joined: Sun Jun 06, 2010 11:06 pm
Has thanked: 2653 times
Been thanked: 1006 times

Re: HOW TO: Install LINUX with or without windows

Postby stooby71 » Fri Sep 02, 2011 6:21 pm

I always like it when I see/hear of another Linux user! :D

And I have also learnt a lot the hard way...

Unfortunately, as I have a bit of an addiction to games, and Windows has rather a lot that I like, I have kept it on my PC.

I have converted my wife comepletely though. She curses if I have left my PC in Windows.

I have promised to post more to that guide, and will in a bit... but not now as I've just got home from a 300 mile journey on a Friday afternoon... need a beer and a rest right now.
Consoles owned:
Strika 2 (boxed), GX4000 (boxed), Playstation (boxed), PS1, PS2, X-Box Crystal (boxed), Gamecube, Saturn, Dreamcast, Gameboy Advance, Neo Geo Pocket
Computers owned:
Amstrad CPC464, Amstrad PCW8512 (boxed), Amiga 1200 (boxed), Amiga 500, Commodore 64 (boxed)
User avatar
stooby71
Next LVL Up at : 15
Next LVL Up at : 15
 
Posts: 13
Joined: Thu Aug 18, 2011 9:30 pm
Location: Sussex, England
Has thanked: 11 times
Been thanked: 15 times
Fav System: Video Genie/CPC464/Amiga

Re: HOW TO: Install LINUX with or without windows

Postby stooby71 » Fri Sep 02, 2011 9:03 pm

Back to things that can make Windows and Linux a bit more... integrated:

In Windows, you have My Documents, My Pictures, My Videos, My Music and possibly a Downloads folder.

In Linux, you also have Documents, Pictures, Videos, Music and Downloads.

To link them together, and have one file appear in the other, you can do the following:
Open a terminall, and begin by making a backup of the fstab file.
Code: Select all
sudo cp /etc/fstab /etc/fstab.BAK

Now we need to edit it again, and add some extra lines at the bottom. (I don't need to show you an example of it, as I did that earlier)
Code: Select all
sudo gedit /etc/fstab

As before, go to the bottom of the file, add a couple of blank lines, and put the following in: (note the username stooby and change with your own. The /media/Windows bit is the Windows username, and the /home/stooby bit is the Linux user.
Code: Select all
/media/Windows/Documents\040and\040Settings/stooby/My\040Documents /home/stooby/Documents none bind 0 0
/media/Windows/Documents\040and\040Settings/stooby/My\040Documents/My\040Music /home/stooby/Music none bind 0 0
/media/Windows/Documents\040and\040Settings/stooby/My\040Documents/Downloads /home/stooby/Downloads none bind 0 0
/media/Windows/Documents\040and\040Settings/stooby/My\040Documents/My\040Videos /home/stooby/Videos none bind 0 0
/media/Windows/Documents\040and\040Settings/sooby/My\040Documents/My\040Pictures /home/stooby/Pictures none bind 0 0

As before, you can make Linux read the updated file by typing
Code: Select all
sudo mount -a

you will now see all your Windows documents in Linux.

The thing to be careful of, is nameing 2 files with the same letters. Linux will allow the following files in the same folder:
qwerty.txt
Qwerty.txt

Windows does not understand the difference between upper and lower case. I'm not sure what would happen if you did this, as I have been careful not to mix my cases like that.

The reason you see \040 is because that is how you describe a space in the settings file.
Consoles owned:
Strika 2 (boxed), GX4000 (boxed), Playstation (boxed), PS1, PS2, X-Box Crystal (boxed), Gamecube, Saturn, Dreamcast, Gameboy Advance, Neo Geo Pocket
Computers owned:
Amstrad CPC464, Amstrad PCW8512 (boxed), Amiga 1200 (boxed), Amiga 500, Commodore 64 (boxed)
User avatar
stooby71
Next LVL Up at : 15
Next LVL Up at : 15
 
Posts: 13
Joined: Thu Aug 18, 2011 9:30 pm
Location: Sussex, England
Has thanked: 11 times
Been thanked: 15 times
Fav System: Video Genie/CPC464/Amiga

Re: HOW TO: Install LINUX with or without windows

Postby Kherr » Fri Dec 30, 2011 9:05 am

:bump:

Updated this thread today. Hehe, I really should be in bed... lol. :hi:
Image
Image
Image
Image
User avatar
Kherr
Site Admin
Site Admin
Next LVL Up at : 1800
Next LVL Up at : 1800
 
Posts: 1776
Joined: Wed Feb 03, 2010 4:19 pm
Location: Detriot, MI, USA
Has thanked: 617 times
Been thanked: 564 times
Fav System: PC/NES/SNES/Genesis
Steam ID: DAKherr

PreviousNext

Return to Modern Computing

Who is online

Users browsing this forum: No registered users and 8 guests