LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-10-2009, 10:48 AM   #1
Yves Parmentier
LQ Newbie
 
Registered: Jun 2009
Posts: 23

Rep: Reputation: 15
Loading Ubuntu from Grub


I have created a Live CD with Ubuntu 9.04.
From within Windows 2000 Professional I installed Ubuntu on an external hard disk.
I restarted my computer an had the choice either to boot with Windows 2000 or with Ubuntu.
I Choose Ubuntu and became a screen with command line "Grub>"
Then I got stuck, not knowing what to do to launch Ubuntu.

In the 8GB partition that was created for Ubuntu I found a "Ubuntu directory" with folders and files, so I assume Ubuntu was installed.

What do I have to do to be able to start Ubuntu Linux?

Thanks in advance for help on this matter

Yves Parmentier
 
Old 06-10-2009, 10:56 AM   #2
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
Quote:
Originally Posted by Yves Parmentier View Post
I have created a Live CD with Ubuntu 9.04.
From within Windows 2000 Professional I installed Ubuntu on an external hard disk.
I don't understand, can you walk us through this? Did you use a guide? What exactly did you do to install it? Can you give us a copy of the file /boot/grub/menu.lst please
 
Old 06-10-2009, 11:12 AM   #3
Yves Parmentier
LQ Newbie
 
Registered: Jun 2009
Posts: 23

Original Poster
Rep: Reputation: 15
Loading Ubuntu from Grub

I just launched the installer from the Live CD Rom and followed the instructions.
When the installation was finished, the installer finished and ejected the CD Rom.
Then I restarted the computer with the Ubuntu boot possibility.
 
Old 06-10-2009, 11:15 AM   #4
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
Okay, that makes a little more sense. And the other questions I asked?
 
Old 06-10-2009, 11:23 AM   #5
Yves Parmentier
LQ Newbie
 
Registered: Jun 2009
Posts: 23

Original Poster
Rep: Reputation: 15
Loading Ubuntu from Grub

Hereafter the contents of menu.lst






#This file is modified at runtime by bootmenu.nsh

debug off
hiddenmenu
timeout 5
default 0

title Start installer in normal mode
find --set-root --ignore-floppies /ubuntu/install/boot/vmlinuz
kernel /ubuntu/install/boot/vmlinuz debian-installer/custom-installation=/ubuntu/install/custom-installation iso-scan/filename=/ubuntu/install/installation.iso automatic-ubiquity noprompt quiet splash boot=casper ro debian-installer/locale=en_AU.UTF-8 console-setup/layoutcode=be console-setup/variantcode= -- ROOTFLAGS=sync
initrd /ubuntu/install/boot/initrd.gz
boot

title Start installer in safe graphic mode (only if you have display problems)
find --set-root --ignore-floppies /ubuntu/install/boot/vmlinuz
kernel /ubuntu/install/boot/vmlinuz debian-installer/custom-installation=/ubuntu/install/custom-installation iso-scan/filename=/ubuntu/install/installation.iso automatic-ubiquity noprompt debug debug-ubiquity xforcevesa boot=casper ro debian-installer/locale=en_AU.UTF-8 console-setup/layoutcode=be console-setup/variantcode= -- ROOTFLAGS=sync
initrd /ubuntu/install/boot/initrd.gz
boot

title Start installer with ACPI workarounds (only if you have ACPI problems)
find --set-root --ignore-floppies /ubuntu/install/boot/vmlinuz
kernel /ubuntu/install/boot/vmlinuz debian-installer/custom-installation=/ubuntu/install/custom-installation iso-scan/filename=/ubuntu/install/installation.iso automatic-ubiquity noprompt debug debug-ubiquity boot=casper ro debian-installer/locale=en_AU.UTF-8 console-setup/layoutcode=be console-setup/variantcode= -- ROOTFLAGS=sync acpi=off noapic nolapic
initrd /ubuntu/install/boot/initrd.gz
boot

title Start installer in verbose mode
find --set-root --ignore-floppies /ubuntu/install/boot/vmlinuz
kernel /ubuntu/install/boot/vmlinuz debian-installer/custom-installation=/ubuntu/install/custom-installation iso-scan/filename=/ubuntu/install/installation.iso automatic-ubiquity noprompt debug debug-ubiquity boot=casper ro debian-installer/locale=en_AU.UTF-8 console-setup/layoutcode=be console-setup/variantcode= -- ROOTFLAGS=sync
initrd /ubuntu/install/boot/initrd.gz
boot

title Read-Only Demo (Live CD Desktop)
find --set-root --ignore-floppies /ubuntu/install/boot/vmlinuz
kernel /ubuntu/install/boot/vmlinuz iso-scan/filename=/ubuntu/install/installation.iso quiet splash boot=casper ro debian-installer/locale=en_AU.UTF-8 console-setup/layoutcode=be console-setup/variantcode= -- ROOTFLAGS=sync
initrd /ubuntu/install/boot/initrd.gz
boot
 
Old 06-10-2009, 11:24 AM   #6
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
No, that is the menu.lst for the livecd, I want the menu.lst from your Ubuntu partition
 
Old 06-10-2009, 11:35 AM   #7
Yves Parmentier
LQ Newbie
 
Registered: Jun 2009
Posts: 23

Original Poster
Rep: Reputation: 15
Load Ubuntu from Grub

I also found this one



debug off
hiddenmenu
default 0
timeout 0
fallback 1

title find /ubuntu/disks/boot/grub/menu.lst
find --set-root --ignore-floppies /ubuntu/disks/boot/grub/menu.lst
configfile /ubuntu/disks/boot/grub/menu.lst

title find /ubuntu/install/boot/grub/menu.lst
fallback 2
find --set-root --ignore-floppies /ubuntu/install/boot/grub/menu.lst
configfile /ubuntu/install/boot/grub/menu.lst

title find /menu.lst
fallback 3
find --set-root --ignore-floppies /menu.lst
configfile /menu.lst

title find /boot/grub/menu.lst
fallback 4
find --set-root --ignore-floppies /boot/grub/menu.lst
configfile /boot/grub/menu.lst

title find /grub/menu.lst
fallback 5
find --set-root --ignore-floppies /grub/menu.lst
configfile /grub/menu.lst

title commandline
commandline

title reboot
reboot
 
Old 06-10-2009, 11:40 AM   #8
harsshal
Member
 
Registered: Jul 2006
Location: New York, NY
Distribution: redhat,ubuntu,RHEL,fedora,centOS
Posts: 105

Rep: Reputation: 15
type following in grub prompt
Code:
root(hd0,x)
kernel /boot/vmlinuz-2.6.x.x ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.x.x
try different posibilities for (hd0,x) (by pressing tab after "hd0,"). I found my partition to be hd0,7.
replace 2.6.x.x by your kernel version.

For windows, you can type
Code:
rootnoverify (hd0,x)
chainloader +1
boot
 
Old 06-10-2009, 11:45 AM   #9
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
Are you using the live CD here? You'll need to mount the partition the Ubuntu install is on, then find menu.lst on there; /mnt/ubuntu/boot/grub/menu.lst or whatever
 
Old 06-10-2009, 11:51 AM   #10
Yves Parmentier
LQ Newbie
 
Registered: Jun 2009
Posts: 23

Original Poster
Rep: Reputation: 15
Loading Ubuntu from Grub

Quote:
Originally Posted by harsshal View Post
type following in grub prompt
Code:
root(hd0,x)
kernel /boot/vmlinuz-2.6.x.x ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.x.x
try different posibilities for (hd0,x) (by pressing tab after "hd0,"). I found my partition to be hd0,7.
replace 2.6.x.x by your kernel version.

For windows, you can type
Code:
rootnoverify (hd0,x)
chainloader +1
boot

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Where can I find the kernel version?
Do I, each time I want to boot Ubuntu, to enter the paramaters you gave me when the Grub command appears?
 
Old 06-10-2009, 11:51 AM   #11
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
Yes you do, which is why I would like to see that file to fix it.
 
Old 06-10-2009, 11:59 AM   #12
Yves Parmentier
LQ Newbie
 
Registered: Jun 2009
Posts: 23

Original Poster
Rep: Reputation: 15
Loading Ubuntu from Grub

I am working with Windows 2000 at present.
But the Live CD works. I tried it and could even access internet.

How can I mount what you say?
 
Old 06-10-2009, 12:05 PM   #13
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
If you're on Windows 2000 then, is the partition with Ubuntu on it under My Computer? Are you able to access it anyway?
 
Old 06-10-2009, 12:15 PM   #14
Yves Parmentier
LQ Newbie
 
Registered: Jun 2009
Posts: 23

Original Poster
Rep: Reputation: 15
Loading Ubuntu from Grub

On the hard disk, in the directory Ubuntu, the installer has made three disks, being:
root disk 2,9 GB
swap disk 0,98 GB
ust disk 3,9 GB
 
Old 06-10-2009, 12:29 PM   #15
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
Okay, open root disk, then /boot/grub and lets see that menu.lst
 
  


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
Ubuntu 6.10.. Loading Stage 1.5.. Grub Error 2? New install, only o/s?? HELP MEEEE!!! Donkey_kong Linux - Newbie 4 09-01-2011 04:24 AM
Error after loading Ubuntu from GRUB rapaport Ubuntu 7 06-09-2008 06:27 AM
GRUB not loading Ubuntu sh00nya Linux - Software 2 05-09-2007 11:22 PM
GRUB Error 21 when loading Ubuntu for first time jonty-comp Ubuntu 5 02-10-2007 07:15 AM
grub loading error 16 after installing ubuntu 6 timbuktu Linux - Newbie 1 07-08-2006 02:02 PM


All times are GMT -5. The time now is 03:57 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration