LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 12-31-2006, 11:05 AM   #1
shadybenn
LQ Newbie
 
Registered: Dec 2006
Posts: 3

Rep: Reputation: 0
Help


Hi,

I've downloaded ubuntu 6.10 and given that my CD burner isn't working, I was wondering if there's a possibility to install it direcly from the hard drive !!

Thanx for your help,
 
Old 12-31-2006, 11:14 AM   #2
namit
Member
 
Registered: Aug 2005
Distribution: Debian
Posts: 355

Rep: Reputation: 30
first of all do not call this help it helps no one know what your problem is.

but no there is no real way that i know of doing this, try getting a new cd drive. is the computer your trying to install ubuntu on cds drive work?

Last edited by namit; 12-31-2006 at 11:16 AM.
 
Old 12-31-2006, 11:28 AM   #3
shadybenn
LQ Newbie
 
Registered: Dec 2006
Posts: 3

Original Poster
Rep: Reputation: 0
I didn't pay much attention when I wrote the subject of the thread, my fault !! I know that there's a way to install ubuntu without CD for the previous versions , so there must be a way for this one too, and yes other cds drive work .
 
Old 12-31-2006, 11:36 AM   #4
namit
Member
 
Registered: Aug 2005
Distribution: Debian
Posts: 355

Rep: Reputation: 30
well you could load it onto an external hard disk and then install it from there.
 
Old 01-02-2007, 01:43 AM   #5
streeturchine
LQ Newbie
 
Registered: Dec 2006
Location: australia
Distribution: ubuntu,dapper 6.06,edgy 6.10,breezy 5.10
Posts: 16

Rep: Reputation: 0
no there is no way to install from the hard drive.

but there is a way to install with out a disk

found this in the archives dont know if it is any good still

How to install Ubuntu Linux without having to burn the .ISO image to CD.

Why would you want to do this?
1 - you don't have a cd burner.
2 - you can't be bothered to wait for your pressed cd to arrive in the post.
3 - because you can...

-- The howto is mainly a simplification of this (Install GNU/Linux without any CD, floppy, USB-key, nor any other removable media) excelent guide for which i take no credit --

The hardware i used to sucessfully install Ubuntu without booting a CD:

Dell Inspiron 1100 2.2 Ghz laptop, 20GB hard disk, running Windows XP on a single NTFS partition. No other system has been tested ~ at least, not by me.


Brief overview of the steps:
1 - resize the c: windows partition
2 - get hold of the ubuntu kernel
3 - set up GRUB for NT
4 - install ubuntu

easy really! i should stop now, hehe


#1 ~ Resizing the partition
(I used Partition Magic 8.0)

Notes:

The trick is not to create specific Linux partitons, but to resize the Windows one leaving nothing but free 'unallocated' space. The ubuntu installer will be able to install itself to this space and do all the fancy partitioning stuff automatically without frightening us linux n00bs too much

In my case i redistributed my 20GB to 15GB for windows and 5GB of 'unallocated space'.

#2 ~ Setting up the kernel

We only need to download two files for the installer to work...

linux.bin
initrd.gz

both of these we could download from the ubuntu archive

place both of these files in C:\boot
- you'll probably have to create this directory yourself

#3 ~ Setting up GRUB for NT (a bootloader that will allow us to choose either the Ubuntu installer or to boot normally into Windows)

The files that we need for GRUB for NT actually contained in the GRUB for DOS package, but that's no problem, so download that:

from here: http://newdos.yginfo.net/grubdos.htm
or here: http://grub.linuxeden.com/

The two files that we want are "menu.lst" and "gldr", you can delete the rest. Place "gldr" in the root of the hard disk (probably C:\) and make a new directory inside C:\boot called 'grub' (ie, C:\boot\grub) and put you menu.lst in there.

All we have to do now is edit the menu.lst to give an option to select the Ubuntu installer and to set the boot.ini to load GRUB.

A) ~ Editing menu.lst

open it with notepad and append right at the bottom of the file the following lines:

Quote:
title Ubuntu Installer (hd0,0)
kernel (hd0,0)/boot/linux vga=normal ramdisk_size=14972 root=/dev/rd/0 rw --
initrd (hd0,0)/boot/initrd.gz

(a lot of the stuff in that file can be cut out, but it's no big deal, we'll leave it for now)

B) ~ editing the boot.ini

The problem here is that this particular file is not only write-protected but also hidden. So to undo all this open a command prompt (Start -> Run -> cmd.exe)

type:
Quote:
attrib -a -r -s -h c:\boot.ini
now open the boot.ini file with notepad and add this line on at the end:

Quote:
C:\grldr="Start GRUB"
...

That's it!


4 ~ Installing Ubuntu

Now when you reboot you should be presented with a screen offering you the choice to either boot into windows, or to 'Start GRUB'; choose 'Start GRUB' and then on the next menu choose 'Ubuntu Installer'.

The installer will run and download all the parts it needs for a while until you get to the partitioning stage... Ubuntu will ask you to install in on the whole of your drive - which obviously we do no want, so choose manage drives personally (or whatever the label is, i don't remember exactly :s) and then you will be able to tell it to install onto the 'unallocated space' we created earlier with Partition Magic. Ubuntu will then set its own ext3 and swap partitions from this space and continue to download and install itself to the empty half of the drive

After this (or maybe it was before?) you'll be prompted with the Ubuntu's own GRUB screen... It should have detected Windows, if so, just agree with it and allow it to install its own GRUB to the boot sector.

That's it!
Fin!

Sorry it's so badly written and all, but i've just done this and was pretty pleased so i thought it was important to share :P

***

Lastly, I have attached all the files needed to set this up in a .zip (EXCEPT FOR inird.gz and linux.bin ~ they're just too big, you'll have to download them yourself to the same folder where you extract this archive to) with this message, inside is a .bat file which can set the whole business up for you

IT IS NOT MY FAULT IF IT SCREWS EVERYTHING UP ~ sorry!

The .bat file expects to run on Windows XP (though i don't suppose it'll care what you run it on...) and will do the following:

create c:\boot
create c:\boot\grub
move grldr to c:\
move linux and initrd.gz to c:\boot
insert a pre-edited version of menu.lst into c:\boot\grub
unprotect the boot.ini
append data to the boot.ini
reprotect the boot.ini

effectively, you could extract the files, run the .bat and then reboot, and all's fine


One last thing, i take no responsibility for any ill effects caused by either your following of this guide, or by running my .bat file.

-ed.

Useful? Try here too: http://www.ubuntuforums.org/showthre...618#post145618

EDIT: (24/04/2005)
#1 - I forgot to type (hd0,0) after 'Unbuntu Installer' in the new c:\boot\grub\menu.lst file sorry! I've fixed the .zip package too.
#2 - Removed all the stuff about renaming linux to linux.bin ~ seems that was all pointless (archive updated accordingly).

(13/06/2005)
#3 - Finally fixed the "title Ubuntu Installer" line - sorry about that... I'll fix the archive soon too; just a little busy right now...

(27/06/2005)
#4 - Added wget.exe (command-line based download program) and set it up to download both the 'initrd.gz' and 'linux' and put them in the right place.

So... Now all you have to do is partition your hard disk, run 'install.bat' and reboot. Though - as always - I take NO responsiblity for whatever happens...
.
it may help...

Last edited by streeturchine; 01-02-2007 at 08:17 AM.
 
Old 01-02-2007, 06:16 AM   #6
namit
Member
 
Registered: Aug 2005
Distribution: Debian
Posts: 355

Rep: Reputation: 30
i mean plug it into another computer install it on the hard disk and then take the hard disk out and put it back in his computer. This would install it but cause a lot of issues.
 
Old 01-02-2007, 06:40 AM   #7
streeturchine
LQ Newbie
 
Registered: Dec 2006
Location: australia
Distribution: ubuntu,dapper 6.06,edgy 6.10,breezy 5.10
Posts: 16

Rep: Reputation: 0
Quote:
Originally Posted by namit
i mean plug it into another computer install it on the hard disk and then take the hard disk out and put it back in his computer. This would install it but cause a lot of issues.

sorry i was actually responding to shaddyben,but you are right,and it could cause a few issues.
could always try emailing the iso file to a friend, and using there cd burner to burn the iso on to the disk(not sure if this is possible but i will email an ubuntu iso to my sister and see if i can burn it tommorow when i go to town.)
 
Old 01-03-2007, 08:25 AM   #8
shadybenn
LQ Newbie
 
Registered: Dec 2006
Posts: 3

Original Poster
Rep: Reputation: 0
thanx streeturchine for your very detailed guide? I will try it right away
 
Old 01-03-2007, 03:34 PM   #9
streeturchine
LQ Newbie
 
Registered: Dec 2006
Location: australia
Distribution: ubuntu,dapper 6.06,edgy 6.10,breezy 5.10
Posts: 16

Rep: Reputation: 0
no credit to me found this on the ubuntu forum while i was having a read'hope it helps
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 05:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration