Ubuntu set up

View previous topic View next topic Go down

Ubuntu set up

Post by stonecold316 on Sun Jun 05, 2011 3:24 am

i am planning on installing ubuntu on my machine. i want to know if when i replace my current system do i lose everything on that drive? and what everyone recomends to get for ubuntu
avatar
stonecold316
Whomp

Posts : 39
Join date : 2011-05-03
Age : 22
Wiffy Veteran

View user profile

Back to top Go down

Re: Ubuntu set up

Post by VampiricPadraig on Sun Jun 05, 2011 9:39 am

As a Linux user for the past 3-4 years (Not a Expert) I am going to guide you in the right direction.

1. Forget Ubuntu. In Ubuntu 11.04, they started using "Unity" which is absolutely BALLS!

2. Get Linux Mint 11. Mint 11 is based off Ubuntu but uses a different interface and doesn't have Unity or anything like that. Download Linux Mint here

3. Dual-Boot your system. If you have a copy of Windows that you want to keep. Keep it. When you are going to install Mint (Or Ubuntu if you decide to) there is a option that will allow you to install the Operating System side-by-side. You will be able to access your Windows files in Ubuntu but not the other way round

4a. When you get Ubuntu (or Mint) Banshee is a music player that is available by default. Forget using it and grab "RhythmBox" from the Ubuntu Software Center" or "Software Manager"

4b. Browser...Whatever you like, Firefox is installed by default....You can get Google Chrome and Opera, so there is enough of decent browsers out there for you.

4c. You should have LibreOffice for Word Processing.

I don't know what you are going to do but hopefully this can get you started.

_________________




osu!, Xfire, Steam, Xbox and PS3 Cards:


osu! rank

Xfire

Steam & Xbox

Playstation 3
avatar
VampiricPadraig
Admin

Posts : 344
Join date : 2010-08-12
Age : 26
Location : Here in Monaghan
Wiffy Veteran

View user profile http://padraigfahy.com

Back to top Go down

Re: Ubuntu set up

Post by stonecold316 on Mon Jun 06, 2011 1:32 am

thank you Vamp that was very helpful. i am mainly doing this untill i get my new PC at the end of the year. i need to use something that isn't windows to try and free up some processing power. i will definatly take MINT into consideration
avatar
stonecold316
Whomp

Posts : 39
Join date : 2011-05-03
Age : 22
Wiffy Veteran

View user profile

Back to top Go down

Re: Ubuntu set up

Post by stonecold316 on Thu Jun 23, 2011 2:59 am

hey vamp im back, i need help agian LOL. i went to install ubuntu (yes i chose that by popular demand) i went to install it on my hard drive which i have partitioned into two seperate drives. one of them failed and i had to fix it, so it is the drive i want to install on. the other drive is my XP drive. i don't know how to install on the fixed drive. if you need visual aid i can provide pictures.
avatar
stonecold316
Whomp

Posts : 39
Join date : 2011-05-03
Age : 22
Wiffy Veteran

View user profile

Back to top Go down

Re: Ubuntu set up

Post by VampiricPadraig on Thu Jun 23, 2011 8:43 am

There should be a option saying "Install alongside Windows XP" (Or something to that effect) that would install it to the 2nd partition.

If you could provide pictures, that might help! Smile

_________________




osu!, Xfire, Steam, Xbox and PS3 Cards:


osu! rank

Xfire

Steam & Xbox

Playstation 3
avatar
VampiricPadraig
Admin

Posts : 344
Join date : 2010-08-12
Age : 26
Location : Here in Monaghan
Wiffy Veteran

View user profile http://padraigfahy.com

Back to top Go down

Re: Ubuntu set up

Post by TheLaw on Thu Jun 23, 2011 3:11 pm

Your instaling from a live boot of ubuntu?
Are you using disk or usb drive(unetbootin)?
You may have to use the partition editor to format the fixed drive to ext4 and designate root(/).
Have you checked the MD5 of your iso? The reason i ask this, was the installation attempt the cause of the disk failure?

I recently updated my downloader lapper, it was running mint 8 helena since its release. I tried installing mint 9 isadora with fluxbox but as the lapper is an old dell, it wouldn't install.
Using mint 11 katya now - all good

Using deluge atm.
avatar
TheLaw
Dry Bones

Posts : 165
Join date : 2010-08-13
Wiffy Veteran

View user profile

Back to top Go down

Re: Ubuntu set up

Post by stonecold316 on Thu Jun 23, 2011 4:58 pm

@TheLaw
1. Yes i am installing from a live boot
2. i am using a disk for the install
3. i am not sure how to check the MD5 of the iso. the reason for the disk failure was not the install the failure is of unknown reasons and it happened a long time ago and thats why i want to install ubuntu, because the drive is clean and fresh for the most part
Here are some pics
Spoiler:
avatar
stonecold316
Whomp

Posts : 39
Join date : 2011-05-03
Age : 22
Wiffy Veteran

View user profile

Back to top Go down

Re: Ubuntu set up

Post by stonecold316 on Thu Jun 23, 2011 5:05 pm

@ Vamp
Spoiler:
the C drive is the fresh drive and the D drive is the one i want to keep
just not too sure on what im doing
avatar
stonecold316
Whomp

Posts : 39
Join date : 2011-05-03
Age : 22
Wiffy Veteran

View user profile

Back to top Go down

Re: Ubuntu set up

Post by TheLaw on Thu Jun 23, 2011 7:46 pm

In the pic above it shows all your drive formatted to ntfs. If you format the one you want to use to ext4, it should become available to install linux onto it.

If they are all ntfs, the partitioner might think they are being used. I could be wrong there.

I remember the first time I dual booted, the partitoner resized my ntfs drive by 50gig, formatted it and then installed linux onto it. I haven't seen that option in a while.
avatar
TheLaw
Dry Bones

Posts : 165
Join date : 2010-08-13
Wiffy Veteran

View user profile

Back to top Go down

Re: Ubuntu set up

Post by stonecold316 on Thu Jun 23, 2011 9:04 pm

The only other thing I need to know is what is the mounting point
avatar
stonecold316
Whomp

Posts : 39
Join date : 2011-05-03
Age : 22
Wiffy Veteran

View user profile

Back to top Go down

Re: Ubuntu set up

Post by VampiricPadraig on Thu Jun 23, 2011 10:59 pm

Ok, After looking at all this. Do the following.

Make sure you are installing it to the correct drive. Go into Windows and give the Local Disk (The one that you are going to install Ubuntu onto) so that you know which drive to use!

You have to create 3 partitions on that drive

  • Root (/)
  • swap
  • home (/home)


Since you have 98GB to play with, this is what it should be

Code:

Note "/dev/sdb1" is given automatically, you cannot give it this name!!

Code:
On Linux, you should always use "ext4 Journaling File System", You CAN'T use NTFS in Linux.

Location Format Mount Point Size (in MB)
/dev/sdb1 ext4 / 25600
/dev/sdb2 swapswap 2048
/dev/sdb3ext4 /home 74752

You should be good with this.

Don't change the option for the boot loader, leave it default.

Very Happy




_________________




osu!, Xfire, Steam, Xbox and PS3 Cards:


osu! rank

Xfire

Steam & Xbox

Playstation 3
avatar
VampiricPadraig
Admin

Posts : 344
Join date : 2010-08-12
Age : 26
Location : Here in Monaghan
Wiffy Veteran

View user profile http://padraigfahy.com

Back to top Go down

Re: Ubuntu set up

Post by stonecold316 on Fri Jun 24, 2011 2:57 am

now that its set up i have one question. WHERE THE HELL DID XP GO? i can not seem to boot to XP. i mean its all still there. at least the files are there, the folders are all there. just how do i get at it
avatar
stonecold316
Whomp

Posts : 39
Join date : 2011-05-03
Age : 22
Wiffy Veteran

View user profile

Back to top Go down

Re: Ubuntu set up

Post by TheLaw on Fri Jun 24, 2011 1:17 pm

Are you using GRUB?
You chould be able to edit your grub.cfg to allow OS choice at boot

open terminal (CTRL+ALT+T) and type :

Code:
nano /boot/grub/grub.cfg

or if your not root

Code:
sudo nano /boot/grub/grub.cfg

you may not have to be root to change grub.cfg in ubuntu.
Google what you need to change in it or post it here so we can all have a gawk

Odd it did not detect XP and add it to grub, if your using it.

avatar
TheLaw
Dry Bones

Posts : 165
Join date : 2010-08-13
Wiffy Veteran

View user profile

Back to top Go down

Re: Ubuntu set up

Post by stonecold316 on Sat Jun 25, 2011 3:29 am

Spoiler:

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi

function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}

function recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}

function load_video {
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
}

insmod part_msdos
insmod ext2
set root='(/dev/sdb,msdos1)'
search --no-floppy --fs-uuid --set=root 6a087a8b-7ba5-4ea8-a3c4-aaeee125c940
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=auto
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(/dev/sdb,msdos1)'
search --no-floppy --fs-uuid --set=root 6a087a8b-7ba5-4ea8-a3c4-aaeee125c940
set locale_dir=($root)/boot/grub/locale
set lang=en_US
insmod gettext
if [ "${recordfail}" = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 44,0,30; then
clear
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
if [ ${recordfail} != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
menuentry 'Ubuntu, with Linux 2.6.38-8-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sdb,msdos1)'
search --no-floppy --fs-uuid --set=root 6a087a8b-7ba5-4ea8-a3c4-aaeee125c940
linux /boot/vmlinuz-2.6.38-8-generic root=UUID=6a087a8b-7ba5-4ea8-a3c4-aaeee125c940 ro quiet splash vt.handoff=7
initrd /boot/initrd.img-2.6.38-8-generic
}
menuentry 'Ubuntu, with Linux 2.6.38-8-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sdb,msdos1)'
search --no-floppy --fs-uuid --set=root 6a087a8b-7ba5-4ea8-a3c4-aaeee125c940
echo 'Loading Linux 2.6.38-8-generic ...'
linux /boot/vmlinuz-2.6.38-8-generic root=UUID=6a087a8b-7ba5-4ea8-a3c4-aaeee125c940 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.38-8-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod part_msdos
insmod ext2
set root='(/dev/sdb,msdos1)'
search --no-floppy --fs-uuid --set=root 6a087a8b-7ba5-4ea8-a3c4-aaeee125c940
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(/dev/sdb,msdos1)'
search --no-floppy --fs-uuid --set=root 6a087a8b-7ba5-4ea8-a3c4-aaeee125c940
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
if [ "x${timeout}" != "x-1" ]; then
if keystatus; then
if keystatus --shift; then
set timeout=-1
else
set timeout=0
fi
else
if sleep --interruptible 3 ; then
set timeout=0
fi
fi
fi
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###

thats the grub.cfg
avatar
stonecold316
Whomp

Posts : 39
Join date : 2011-05-03
Age : 22
Wiffy Veteran

View user profile

Back to top Go down

Re: Ubuntu set up

Post by TheLaw on Sat Jun 25, 2011 1:01 pm

Are you geting a Grub menu when you boot - according to your grub.cfg you should have a menu with 4 items on it:

Ubuntu, with Linux 2.6.38-8-generic'
'Ubuntu, with Linux 2.6.38-8-generic (recovery mode)
Memory test (memtest86+)"
Memory test (memtest86+, serial console 115200

If this is the case your missing your xp selection entry.
You can try adding one
My one is in the os-prober section but you have your timeout code there.
You may need to get a look at an ubuntu version as my xp boot section is from mint and looks like this:

Code:
###BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows XP Ultimate (on /dev/sda1)" --class windows --class os {
              insmod part msdos
              insmod ntfs
              set root='(/dev/sda,msdos1)'
              search --no-floppy --fs-uuid --set=root C2BC8D61BC8D50B9
              drivemap -s (hd0) ${root}
              chainloader +1
}
### END /etc/grub.d/30_os-prober ###

Somethng went wrong with your install. You could probably copy and paste my entry above into your grub.cfg and fix any errors that come up, like your xp might not be on sda1, so you might need to change that and you may need to define your own boot point for xp.

EDIT: I was curious to not see a menu.lst in my grub folder and i presume yours is the same, and i think this is the reason and might help you sort your issue
http://forums.parsix.org/viewtopic.php?p=5046
avatar
TheLaw
Dry Bones

Posts : 165
Join date : 2010-08-13
Wiffy Veteran

View user profile

Back to top Go down

Re: Ubuntu set up

Post by stonecold316 on Sun Jun 26, 2011 6:47 pm

well i looked at the forum you linked and tried OS prober and it still came back with no XP. i am dubious about adding your os prober section to my grub.cfg just because there are some things i don't know. still trying tho
avatar
stonecold316
Whomp

Posts : 39
Join date : 2011-05-03
Age : 22
Wiffy Veteran

View user profile

Back to top Go down

Re: Ubuntu set up

Post by TheLaw on Sun Jun 26, 2011 9:00 pm

did you try the command

update-grub2
avatar
TheLaw
Dry Bones

Posts : 165
Join date : 2010-08-13
Wiffy Veteran

View user profile

Back to top Go down

Re: Ubuntu set up

Post by stonecold316 on Mon Jun 27, 2011 1:22 am

Yes
avatar
stonecold316
Whomp

Posts : 39
Join date : 2011-05-03
Age : 22
Wiffy Veteran

View user profile

Back to top Go down

Re: Ubuntu set up

Post by TheLaw on Mon Jun 27, 2011 8:10 am

You may have deleted your xp boot sector, without that grub might not have recognised a second operating system.
You may need to use a boot disk to boot back into xp and use CMD and type fixboot or fixmbr. This would create a new boot sector for xp and wen you get back into ubuntu, run update-grub2 again.

If you find you cant get back into ubuntu after creating the boot sector, just boot the live version and do it through that.
avatar
TheLaw
Dry Bones

Posts : 165
Join date : 2010-08-13
Wiffy Veteran

View user profile

Back to top Go down

Re: Ubuntu set up

Post by stonecold316 on Sat Jul 02, 2011 2:42 am

Um well appearently using OS Prober deleted my grub boot loader. so i cant even get back into Ubuntu. Cool. gonna go back to XP wen this is over.
avatar
stonecold316
Whomp

Posts : 39
Join date : 2011-05-03
Age : 22
Wiffy Veteran

View user profile

Back to top Go down

Re: Ubuntu set up

Post by TheLaw on Sun Jul 03, 2011 4:50 pm

I'm sorry it didn't work out for you. Have you deleted your ext4 partition and ran fixmbr to get back into XP at least.

I find that linux just sometimes doesn't want to play nice. I hate those days

avatar
TheLaw
Dry Bones

Posts : 165
Join date : 2010-08-13
Wiffy Veteran

View user profile

Back to top Go down

Re: Ubuntu set up

Post by stonecold316 on Sun Jul 03, 2011 6:35 pm

TheLaw wrote:I'm sorry it didn't work out for you. Have you deleted your ext4 partition and ran fixmbr to get back into XP at least.

I find that linux just sometimes doesn't want to play nice. I hate those days


no i did not delete anything or run fixmbr. my computer is in the words of a techie "on life support" i am thinking about just blowing away the drive and setting it up again.
avatar
stonecold316
Whomp

Posts : 39
Join date : 2011-05-03
Age : 22
Wiffy Veteran

View user profile

Back to top Go down

Re: Ubuntu set up

Post by stonecold316 on Thu Jul 07, 2011 1:56 am

well i got ubuntu back somehow when i was trying to get XP back.

Credit to this article: http://www.1earthadventures.com/2010/07/05/malaysia/repair-xp-mbr-ubuntu-live-cd/
avatar
stonecold316
Whomp

Posts : 39
Join date : 2011-05-03
Age : 22
Wiffy Veteran

View user profile

Back to top Go down

Re: Ubuntu set up

Post by TheLaw on Thu Jul 07, 2011 9:02 am

Glad you got fixed up.

Funny, lilo is a boot loader similiar to Grub. we used it alot back when using suse linux
avatar
TheLaw
Dry Bones

Posts : 165
Join date : 2010-08-13
Wiffy Veteran

View user profile

Back to top Go down

Re: Ubuntu set up

Post by stonecold316 on Sun Jul 10, 2011 5:01 am

well it finally happend I F'ING FIXED XP. i am posting from xp right now. i love the internet.
avatar
stonecold316
Whomp

Posts : 39
Join date : 2011-05-03
Age : 22
Wiffy Veteran

View user profile

Back to top Go down

Re: Ubuntu set up

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum