LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Simple method of ubuntu installation on hard disk (https://www.linuxquestions.org/questions/linux-newbie-8/simple-method-of-ubuntu-installation-on-hard-disk-4175470526/)

zak100 07-22-2013 01:42 PM

Simple method of ubuntu installation on hard disk
 
Hi,
I want to install ubuntu 13.04 on my hard disk. Currently i have ubuntu 9.0 running on my system. Portion of hard disk also contains windows 7.0 partition which i dont mind if get disturbed during installation. Earlier i have tried to install ubuntu using usb stick but it does not work. I have also read about installation of ubuntu using start up disk. I want to use usb as a start up disk but i dont know the whole procedure.
Currently i have
Quote:

ubuntu-13.04-desktop-amd64
iso file whose size is :
Quote:

803,840kb
Kindly guide me with a simple quick method of installing ubuntu. I want to switch because my internet wireless USB is not working and I was told on this forum that ubuntu 13.04 would solve this problem.

Zulfi.

273 07-22-2013 01:58 PM

You could try unetbootin to put a bootable image on your USB stick -- that tends to be the easier way. Otherwise, if the image you downloaded is a "hybrid" [I think the Ubuntu ones are?] you can just dd it to a USB stick.
Edit: The above assumes that your computer gives you the option of booting from USB in BIOS.

cascade9 07-22-2013 02:13 PM

Even if the motherboard doesnt support booting from USB it can stil be possible to do, even easy-

https://help.ubuntu.com/community/BootFromUSB

I feel like a broken reccord the number of times I've said this, but if a user has let a version of ubuntu (or any other OS for that matter) get as out of date and out of suport as a 9.XX ubuntu version, 13.04 is not a good choice IMO. Its got way to short a support lenght (pervious ubuntu non-LTS versions had 18 months support, 13.04 and onward will only have 9 months support). I'd get 12.04 LTS.....well, thats a lie, I wouldnt get ubuntu at all myself. :) But if I'd let an OS get that outdated, and I was going to get ubuntu, I'd get 12.04 LTS.

BTW, if you are a 9.XX user you might want to check out the 'unity' DE. Gnome 2.X used by older versions of ubuntu is gone as of 11.10, replaced by unity and unity is quite different to gnome 2.X.

zak100 07-23-2013 06:54 AM

Hi 273 & cascade9,
Thanks for your response. I have tried unetbootin in my other post but it didnt work:

http://www.linuxquestions.org/questi...ng-4175467012/

Quote:

Otherwise, if the image you downloaded is a "hybrid" [I think the Ubuntu ones are?] you can just dd it to a USB stick


Sorry I didnt see any hybrid image download. I copied the iso file onmy usb and tried to boot but it didnt work. It says
Quote:

Remove disk or other media.
Press any key to resstart
I set the usb boot option from the bios menu.

I cant understand what you mean by dd?

Quote:

I feel like a beroken reccord the number of times I've said this, but if a user has let a version of ubuntu (or any other OS for that matter) get as out of date and out of suport as a 9.XX ubuntu version, 13.04 is not a good choice IMO.
9.x does not allow me to use my wireless internet usb.


I have to try your link know.

Zulfi.

cascade9 07-23-2013 07:26 AM

Quote:

Originally Posted by zak100 (Post 4995184)
9.x does not allow me to use my wireless internet usb.

9.XX shouldnt be used anymore, they have been out of support for years now.

Ubuntu 9.10 'Karmic Koala' end of life was April 30, 2011

Ubuntu 9.04 Jaunty Jackalope end of life was October 23, 2010

https://wiki.ubuntu.com/Releases

13.04 wil be end of life in 6 months. 12.04 LTS is end of life in April 2017.

The Huawei 3G E620 should work with 12.04-

http://askubuntu.com/questions/10590...oadband-device

*edit- dd-

http://en.wikipedia.org/wiki/Dd_%28Unix%29

zak100 07-23-2013 07:39 AM

Hi,
Thanks for you update. Right now i am trying to install 13.04 because i have downloaded it after spending lot of time. I have got a short project for which i need ubuntu after that i would convert my laptop into a dual boot system. At that time i would install 12.04. Thanks for you information.

I checked that link it says:
Quote:

For convenience, add these commands to your GRUB configuration (usually in /boot/grub/menu.lst):

# to boot from a USB device
title Boot USB drive
root (hd1,0)
chainloader +1
boot
I cant find /boot/grub/menu.lst

Code:

zulfiqar@zulfiqar-laptop:/boot/grub$ ls

915resolution.mod  efiemu64.o    lspci.mod      reiserfs.mod
acpi.mod          efiemu.mod    lvm.mod        scsi.mod
affs.mod          elf.mod        mdraid.mod      search.mod
afs_be.mod        ext2.mod      memdisk.mod    serial.mod
afs.mod            extcmd.mod    memrw.mod      setjmp.mod
aout.mod          fat.mod        minicmd.mod    sfs.mod
ata.mod            font.mod      minix.mod      sh.mod
ata_pthru.mod      fs_file.mod    mmap.mod        sleep.mod
at_keyboard.mod    fshelp.mod    moddep.lst      tar.mod
befs_be.mod        fs.lst        msdospart.mod  terminfo.mod
befs.mod          fs_uuid.mod    multiboot.mod  test.mod
biosdisk.mod      gfxterm.mod    normal.mod      tga.mod
bitmap.mod        gptsync.mod    ntfscomp.mod    true.mod
blocklist.mod      grub.cfg      ntfs.mod        udf.mod
boot.img          grubenv        ohci.mod        ufs1.mod
boot.mod          gzio.mod      part_acorn.mod  ufs2.mod
bsd.mod            halt.mod      part_amiga.mod  uhci.mod
bufio.mod          handler.lst    part_apple.mod  usb_keyboard.mod
cat.mod            handler.mod    part_gpt.mod    usb.mod
cdboot.img        hdparm.mod    partmap.lst    usbms.mod
chain.mod          hello.mod      part_msdos.mod  usbtest.mod
cmp.mod            help.mod      part_sun.mod    vbeinfo.mod
command.lst        hexdump.mod    parttool.lst    vbe.mod
configfile.mod    hfs.mod        parttool.mod    vbetest.mod
core.img          hfsplus.mod    password.mod    vga.mod
cpio.mod          iso9660.mod    pci.mod        vga_text.mod
cpuid.mod          jfs.mod        play.mod        video_fb.mod
crc.mod            jpeg.mod      png.mod        video.mod
datehook.mod      kernel.img    probe.mod      videotest.mod
date.mod          keystatus.mod  pxeboot.img    xfs.mod
datetime.mod      linux16.mod    pxecmd.mod      xnu.mod
device.map        linux.mod      pxe.mod        xnu_uuid.mod
diskboot.img      lnxboot.img    raid5rec.mod    zfsinfo.mod
dm_nv.mod          loadenv.mod    raid6rec.mod    zfs.mod
drivemap.mod      loopback.mod  raid.mod
echo.mod          lsmmap.mod    read.mod
efiemu32.o        ls.mod        reboot.mod
zulfiqar@zulfiqar-laptop:/boot/grub$

However i found command.lst. Its contents are
Code:

*915resolution: 915resolution
*acpi: acpi
*cat: cat
*cpuid: cpuid
*drivemap: drivemap
*echo: echo
*efiemu_pnvram: efiemu
*freebsd: bsd
*halt: halt
*hdparm: hdparm
*hello: hello
*help: help
*hexdump: hexdump
*keystatus: keystatus
*list_env: loadenv
*load_env: loadenv
*loopback: loopback
*ls: ls
*netbsd: bsd
*openbsd: bsd
*probe: probe
*pxe: pxecmd
*save_env: loadenv
*search: search
*serial: serial
*sleep: sleep
.: configfile
[: test
background_image: gfxterm
badram: mmap
blocklist: blocklist
boot: boot
cat: minicmd
chainloader: chain
cmp: cmp
configfile: configfile
crc: crc
date: date
dump: minicmd
efiemu_loadcore: efiemu
efiemu_prepare: efiemu
efiemu_unload: efiemu
exit: minicmd
false: true
freebsd_loadenv: bsd
freebsd_module: bsd
freebsd_module_elf: bsd
gptsync: gptsync
handler: handler
help: minicmd
initrd16: linux16
initrd: linux
linux16: linux16
linux: linux
loadfont: font
lsfonts: font
lsmmap: lsmmap
lsmod: minicmd
lspci: lspci
module: multiboot
multiboot: multiboot
parttool: parttool
password: password
play: play
read: read
read_byte: memrw
read_dword: memrw
read_word: memrw
reboot: reboot
rmmod: minicmd
root: minicmd
source: configfile
terminal_input: handler
terminal_output: handler
terminfo: terminfo
test: test
true: true
usb: usbtest
vbeinfo: vbeinfo
vbetest: vbetest
videotest: videotest
write_byte: memrw
write_dword: memrw
write_word: memrw
xnu_devtree: xnu
xnu_kernel: xnu
xnu_kext: xnu
xnu_kextdir: xnu
xnu_mkext: xnu
xnu_ramdisk: xnu
xnu_resume: xnu
xnu_splash: xnu
xnu_uuid: xnu_uuid
zfs-bootfs: zfsinfo
zfsinfo: zfsinfo

Should i modify this file?? Where should i put the configuration commands mentioned above and in the link? Kindly guide me.

Zulfi.

yancek 07-23-2013 08:07 AM

Quote:

Where should i put the configuration commands mentioned above and in the link? Kindly guide me.
Nowhere. They won't work because those commands won't work as they are for Grub Legacy and your Ubuntu uses Grub2 and its configuration file is grub.cfg which shows in your list. Are you still unable to boot with the flash drive? Do you not get a boot menu when you boot from the flash drive you created with unetbootin? Exactly what happens when you boot the flash drive?

273 07-23-2013 12:52 PM

Why have you started a new thread for thiswhen you have already created a bootable USB stick using unetbootin and used it to boot your computer?
Quote:

Originally Posted by zak100 (Post 4993828)
Hi,
I tried unetbootin again after formatting the usb. This time i got the menu for installing. However, I cant login. What would be the login name and password?? Plz guide me.

zulfi.

When you are asked to enter a password what, exactly, does it ask you for? I suspect that it is asking for you to choose a password for the new user you are setting up as part of creating the new Ubuntu install. Certainly I have never been asked for a password when using the installer for Ubuntu apart from that.
How did you manage to install Ubuntu the first time you did it?

zak100 07-23-2013 01:43 PM

Hi,
Thanks for reply and thanks for asking about previous thread. Sorry I had to quit that thread because i was in a difficult position when it asked me the password and login id because i did not supply this information at the time of installation. It showed me the menu with different options. They were two install options and I cant understand why. And i choose one of them. However after sometime it showed me a clear screen and on top of which it was written 13.04 and then it asked the login id and password. I checked the web and in one post related to ubuntu 7 i found that they replied to the poster to use "ubuntu" as both the login name and id. It did not work. Other post said that it might have asked about the login and password but the poster might have not supplied these things.
http://www.techsupportforum.com/foru...lp-215593.html
Quote:

Are you still unable to boot with the flash drive? Do you not get a boot menu when you boot from the flash drive you created with unetbootin? Exactly what happens when you boot the flash drive?
It showed me the menu but it didnt work at the end because it asked the login id and password. I also found on the web that its tricky to use unetbootin. After that i removed all the stuff from the usb and tried to extract the iso files on the usb and then i tried to boot but it didnt work. If you people insist on using unetbootin I can try. However plz note that i work in a teaching environment and i have to help my pupil. So i dont have much time.
Quote:

How did you manage to install Ubuntu the first time you did it?
At that time i had windows 7 and i downloaded the iso. People on this forum told me that your dual os wont work. I needed a linux system to work at home so i did not follow their advise. I double clicked on the iso (i dont remember much but i got lot of advise from this forum) and it started the installation. However after that i am not able to boot from windows (though i have some of windows data still intact) but it solved my problem. Now i need internet. I want to install web server.

Quote:

Do you not get a boot menu when you boot from the flash drive you created with unetbootin?
It showed me the boot menu and i clicked on the install option but after that it asked about login id and password which i was not able to provide. I checked the internet and then i realized that i might be doing something wrong so i gave up the idea of unetbootin. I just want to install 13.04 on my harddisk of my laptop so that i can use the internet. If you people thing that i have to go back to unetbootin , i am ready for that.

Thanks for your attention.

Zulfi.

273 07-23-2013 01:53 PM

Quote:

Originally Posted by zak100 (Post 4995405)
It showed me the menu but it didnt work at the end because it asked the login id ad password. I also found on the web that its tricky to use unetbootin.

It is obviously not tricky for you to use unetbootin because you used it successfully to boot form the USB stick. That is all that unetbootin is -- it makes it easy to boot from a SB stick as if it were a CD or DVD when you don't have a CD or DVD available or would rather not use one.

As to the install: As I mentioned there should be no username and password asked for from a Ubuntu install DVD -- it should either let you install or boot to a Ubuntu desktop without asking for a password. This leads me to think that you may have an install image other than the one provided by Canonical for normal use.
I suggest that you go here: http://releases.ubuntu.com/precise/ (this is the LTS release mentioned above) and download directly from Canonical and use unetbootin to put the image onto USB.
You should then be able to follow the instructions here to install Ubuntu:
https://help.ubuntu.com/community/WindowsDualBoot
Where it tells you to:
Quote:

Insert the LiveCD into your CD-ROM drive and reboot your PC.
If the computer does not boot from the CD (e.g. Windows starts again instead), reboot and check your BIOS settings by pressing F2, F12, Delete, or ESC. Select "boot from CD".
then use the USB stick prepared earlier instead of the CD. All other steps ought to be the same.

Edit: It may well be possible to install using the .iso image you already tried but you may have to read the options you see very carefully and note them down and report them here for us to be able to help you with it.

yancek 07-23-2013 06:44 PM

I don't actually use Ubuntu regularly but I've installed and tried every version since 9.04. On boot you get several options, usually in addition to selecting to boot live, there is an option to run memtest and sometimes verify the CD. After that, every time on boot, a screen comes up that asks if you want to Try Ubuntu without installing or Install. There has never been a password required. Also, you can't install Ubuntu without creating at least one user.

I suppose unetbootin, like any software, can seem difficult to use for someone who has never used it. This is about as simple a piece of software as I can imagine to perform something as complicated as it does. You just select the OS you want to download or if you already have it downloaded, you navigate to where it is on your system and click OK.

Quote:

After that i removed all the stuff from the usb and tried to extract the iso files on the usb and then i tried to boot but it didnt work.
That won't work for any system. You can extract and copy the files to a flash drive and boot it but you will have to manually isntall Grub to the flash drive and manually create a grub.cfg file. Better off with unetbootin or pendrivelinux.

zak100 07-24-2013 06:07 AM

Hi,
I am downloading this file. Hope it helps to run my wireless usb. I now remember that i installed ubuntu previously using CD.

http://forum.allaboutcircuits.com/sh...ad.php?t=80661

However, i would try unetbootin again. Hope it should work.

Zulfi.

273 07-24-2013 12:03 PM

I am not sure why you think a disk partitioning tool will help with your wireless problem?
Also, the Ubuntu installer has a partitioning tool built in and you will need to follow the guide I linked to very carefully to use it to set up your dual-boot Linux and windows system.

273 07-24-2013 12:24 PM

On reflection I think you need more detailed help than the short answeres I have been giving, so I will list the things you should have learned from this, and your other, thread:

In order for your wireless card to work under Linux you will need a driver not present in the default Ubuntu install or, at least, the default install of the version you have.
The version of Ubuntu you are running is out of date so no security or bug fixes are being released form it and, also, there is nowhere straightforward for you to install software from for that version.
So, you will need to install a more modern version of Ubuntu -- either 13.04 or the Long Term Support version mentioned (which I linked to in a previous post).
Your wireless will probably not just start working under the new version of Ubuntu but you will have a much greater chance of it working and you need to update from that old version of Ubuntu before anyone can start helping you with the wireless card.
When you install the new version of Ubuntu you will likely do so into the partition on the hard drive that the old version was using -- so you will wipe out all data associated with that install [unless you specifically know otherwise].
To install the new version you can either burn the ISO file to CD or, as we have discussed, use unetbootin to put it on a USB drive (my preferred method also, by the way).
When you boot from the USB device created by unetbootin you should chose the option to install Ubuntu or leave it to go to the live desktop and install form there. If you are asked for a password or receive errors then you must state exactly what you chose and what the message says (so take notes!) then let us know and we can more than likely help.

Once you have installed the new version of Ubuntu, which may well take you a while and mean a lot of questions here, then you can look at getting your wireless card to work and people here will be happy to help.

zak100 07-25-2013 03:39 AM

Hi,
Thanks all of you for helping me with my problems. I am about to start the installation process. I am using 8GB usb.

Zulfi.


All times are GMT -5. The time now is 01:32 AM.