LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 06-30-2006, 05:52 AM   #1
DyWaN
LQ Newbie
 
Registered: Jun 2006
Location: ..:: World Of OpenSources ::..
Distribution: Ubuntu 6.0.6
Posts: 2

Rep: Reputation: 0
Question Please Help!! - Ubuntu Alternate Install


Hi people, I'm new to linux and have decided to use Ubuntu. However, I found difficulties in installing this to my laptop. It's an old Toshiba P3-1 Ghz, 512 MB RAM, 40 GB HD, a broken floppy, a broken CDROM , a working USB & a working LAN port.

It's going to be long as I try to explain my difficulties as detail as possible to get help from seniors here. and thank you very much if someone could help me out also sorry for my bad english as it's not my daily language.

Let's start

Based on the situation above, I decided to download a .iso of Ubuntu 6.0.6 alternate because I want to install Ubuntu from a local partition of FAT32 as the HD is structured as :

1. Primary 20 GB - FAT32 - Windows XP & Windows 98 system file, so I got two options in my windows boot loader, one to directly go to Windows XP, and 2 for going to C:\ prompt

2. another 20 GB I left this unpartitioned (supposed to be used by ubuntu)

And below are the steps:

1. place the ubuntu-6.06-alternatei386.iso at c:\ubuntu

2. place vmlinuz & initrd.gz which i downloaded from ubuntu's site under hd-media at c:\boot

3. I download latest Grub, extract 2 files only (grldr & menu.lst) and place both of them at root of drive c:\

4. I edit the menu.lst like this :

title Ubuntu 6.0.6 Harddisk Install
kernel (hd0,0)/boot/vmlinuz root=/dev/ram0 devfs=mount,dall ramdisk_size=17000
initrd (hd0,0)/boot/initrd.gz


5. I add this to the last line of c:\boot.ini:
c:\grldr="Ubuntu 6.06 Harddisk Install"

please note that the steps I got at point no.4 doesn't mean i know anythng about them, i got the reference from instlux at sourceforge.

6. Reboot, it goes to Window's boot selection and I choose Ubuntu...

7. The kernel loaded & the setup starts, enter my language, location & keyboard layout

8. It searches for ISO installer image or something like that founds it, retrieving modules, i configure my network, and the Partition disks page loaded.

9. I choose "Manually edit partition table", and it shows :

IDE1 master (hda) - 40.0 GB FUJITSU MHT2040AH
#1 primary 20.0 GB B K fat32 /media/hda1
pri/log 20.0 GB FREE SPACE


10. I choose the second one, & choose the "Automatically partition the free space" and finally came up with this :

IDE1 master (hda) - 40.0 GB FUJITSU MHT2040AH
#1 primary 20.0 GB B K fat32 /media/hda1
#2 primary 19.2 GB B f ext3 /
#5 logical 847.2 MB f swap swap


11. I choose "Finish partitioning and write changes to disk". it asked me to write changes to the disk and I choose "Yes".

12. Asked me to select my time zone : I choose "Jakarta"

13. Asked me to input Full name, username account & password

14. It then showed "Installing base system"

15. After that showed "Configuring apt"

16. Continued to "Select and install software"

17. Everything works fine and finally showed "Cleaning up..."

Problems started here....

16. It then shows a dialog with "Install the Grub boot loader on a hard disk" with the message :
The grub package failed to install into /target/. Installing GRUB as a boot loader is q reauired step...and so on.

Grub installation failed. continue anyway?

I choose yes

18. It then showed another dialog teling me that it detected a Microsoft Windows XP Professional and asked me whether to install GRUB loader to the MBR.

I choosed No

19. it showed me another options where to install the GRUB, so I choose to install it to (hd0,1) or /dev/hda2

20. It showed a dialog with the message:

Unable to install GRUB i /dev/hda2
Executing 'grub-install /dev/hda2 failed.

This is a fatal error.


21. I then choose <Continue>

22. It showed a dialog with the message :

Installation step failed
And installation step failed. You can try to run the failing item again from menu or skip it and choose something else. The failing step is : Install the GRUB loader on a hardisk


23. I choose <Continue> and it brings me back to a menu with lot's of options.

Here's where I got stucked. I even don't got the balls to restart my laptop. and wait for a response from experts from this forum.

anwyay, I tried to install GRUB to different partition also like /dev/hda1 and t floppy /dev/fd0 it just failed with the same message.

also tried to execute "Install LILO boot loader on a hardisk" still got the same error.

sorry for the long posts, and thank you very much for your efforts spending your time reading this. I hope someone could help me.

thank you very much..
 
Old 06-30-2006, 10:44 AM   #2
Gethyn
Member
 
Registered: Aug 2003
Location: UK
Distribution: (X)Ubuntu 10.04/10.10, Debian 5, CentOS 5
Posts: 900

Rep: Reputation: 32
Check your BIOS. You may have an option called "Boot sector protection" or something similar enabled. This option prevents anything being written to the boot sector, which protects against some viruses. However, it also stops you installing grub. If you can find the option, try disabling it and reinstalling Ubuntu. Once the install is complete you can re-enable it.
 
Old 06-30-2006, 01:46 PM   #3
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Rep: Reputation: 31
You DO want to install Grub on MBR. You should have chosen 'Yes'
when given the option.

this will allow you to boot to Windows or ubuntu.

Unless I missed somthing in your post, this should solve your problem.

Hey Gethyn! How Goes it?

Last edited by randell6564; 06-30-2006 at 01:48 PM.
 
Old 06-30-2006, 03:55 PM   #4
robbbert
Member
 
Registered: Oct 2005
Location: Hannover, Germany
Distribution: Let there be Ubuntu... :o)
Posts: 573

Rep: Reputation: 32
Quote:
You DO want to install Grub on MBR. You should have chosen 'Yes'
when given the option.
Sounds realistic. - Apart from that, the original posting's a great HOWTO for people/computers without CD-ROM (like me with my old laptop)!
 
Old 06-30-2006, 04:19 PM   #5
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Rep: Reputation: 31
Quote:
Originally Posted by robbbert
Sounds realistic. - Apart from that, the original posting's a great HOWTO for people/computers without CD-ROM (like me with my old laptop)!
Yes Indeed! I for one, had no idea of any other way of installing ubuntu BUT from a cd!
 
Old 07-01-2006, 10:59 AM   #6
DyWaN
LQ Newbie
 
Registered: Jun 2006
Location: ..:: World Of OpenSources ::..
Distribution: Ubuntu 6.0.6
Posts: 2

Original Poster
Rep: Reputation: 0
Wink

Hey guys..thanks for the great tips. I'm not quite sure what happened but I found my way out of this.

After GRUB & LILO refused to be installed, I choose the continue installation without any boot loader. It completes the install and rebooted. and I got the error message stating that I can't boot because of an operating system error.

I boot using win98 bootdisk, run Fdisk and activate my Windows XP's partition. and made some changes to menu.lst to

title Ubuntu 6.06
root (hd0,1)
kernel /vmlinuz root=/dev/hda2
initrd /boot/initrd.img-2.6.15-23-386
boot

there , it worked for god's sake. thanks to Herman's explanation located at h**p://users.bigpond.net.au/hermanzone/p15.htm#reinstallgrub

So I would like to thank everybody here who replied and payed attention to my question. Cheers
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to install alternate gcc in fc4 korneez Linux - Newbie 3 06-15-2006 08:22 AM
Clean install from Ubuntu Warty to Ubuntu Hoary Erik_the_Red Linux - Newbie 2 06-05-2005 07:14 PM
Install alternate Environment e-freak Linux - Newbie 2 01-09-2005 06:23 PM
How to install alternate WM in FC2? vincebs Fedora 8 08-24-2004 04:40 PM


All times are GMT -5. The time now is 01:56 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration