LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-29-2005, 10:12 PM   #16
f1dave
Member
 
Registered: Jan 2005
Location: Kinross, Western Australia
Distribution: Kubuntu 5.04 (Hoary)
Posts: 114

Rep: Reputation: 15

now i have linux and xp installed on the same sata disk, so would it be /dev/sda instead of hda?
 
Old 06-29-2005, 10:35 PM   #17
f1dave
Member
 
Registered: Jan 2005
Location: Kinross, Western Australia
Distribution: Kubuntu 5.04 (Hoary)
Posts: 114

Rep: Reputation: 15
gah, knoppix doesnt have grub. bugger.

Ah well, i'm scouring google as we speak, i'm sure i'll turn something up. if not, i shall have to get that livecd.
 
Old 06-30-2005, 02:51 AM   #18
linux-rulz
Member
 
Registered: Dec 2004
Distribution: Windows XP Home, Ubuntu Hoary
Posts: 584

Rep: Reputation: 30
Quote:
gah, knoppix doesnt have grub. bugger. Ah well, i'm scouring google as we speak, i'm sure i'll turn something up. if not, i shall have to get that livecd.
The live cd doesn't need to have grub, just do what i said about chroot and any live cd, grub or no grub, will work.
 
Old 06-30-2005, 11:12 AM   #19
f1dave
Member
 
Registered: Jan 2005
Location: Kinross, Western Australia
Distribution: Kubuntu 5.04 (Hoary)
Posts: 114

Rep: Reputation: 15
Yeah mate, thanks for that it now works

Now after rubbishing and unrubbishing my boot loader, i just need to find X and the rest of my programs :P
 
Old 06-30-2005, 12:35 PM   #20
linux-rulz
Member
 
Registered: Dec 2004
Distribution: Windows XP Home, Ubuntu Hoary
Posts: 584

Rep: Reputation: 30
You didn't do the server installation did you?
 
Old 06-30-2005, 10:23 PM   #21
masonmop
LQ Newbie
 
Registered: Jun 2005
Location: The 5th dimesion. I'm using Dine (dimsional Wine) to access this site
Distribution: Ubuntu!! Hooray for Canonical!!
Posts: 25

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by linux-rulz
Try /dev/uda.

Before we get into that, could you please post your /boot/grub/menu.lst from your Ubuntu installation, NOT from the livecd. Thx
I tried /dev/uda, it didn't work. How do I get that /boot/grub/menu.lst thing from the installation, but not the CD?

Thx in advance
Masonmop
 
Old 07-01-2005, 12:03 AM   #22
linux-rulz
Member
 
Registered: Dec 2004
Distribution: Windows XP Home, Ubuntu Hoary
Posts: 584

Rep: Reputation: 30
You would mount your installation partition and read it from there while running the live cd.
 
Old 07-01-2005, 01:42 AM   #23
f1dave
Member
 
Registered: Jan 2005
Location: Kinross, Western Australia
Distribution: Kubuntu 5.04 (Hoary)
Posts: 114

Rep: Reputation: 15
Hehe

I've got a habit of making installs harder than they should be :P Everything's up and working now, thanks a lot to everyone- especially linux_rulz, if you're in my part of the world sometime mate i'll buy you a beer. Now all that remains is fixing some entries in grub, which i can do no problem.
 
Old 07-01-2005, 02:59 AM   #24
masonmop
LQ Newbie
 
Registered: Jun 2005
Location: The 5th dimesion. I'm using Dine (dimsional Wine) to access this site
Distribution: Ubuntu!! Hooray for Canonical!!
Posts: 25

Original Poster
Rep: Reputation: 15
Okay Linux-rulz, here are all the uncommented lines in /boot/grub/menu.lst

default 0
timeout 10

title Ubuntu, kernel 2.6.10-5-amd64-generic Default
root (hd0,0)
kernel /boot/vmlinuz root=/dev/hdc1 ro console=tty0 quiet splash
initrd /boot/initrd.img
savedefault
boot

title Ubuntu, kernel 2.6.10-5-amd64-generic Default (Recovery Mode)
root (hd0,0)
kernel /boot/vmlinuz root=/dev/hdc1 ro console=tty0 single
initrd /boot/initrd.img
savedefault
boot

title Ubuntu, kernel 2.6.10-5-amd64-generic
root (hda0,0)
kernel /boot/vmlinuz-2.6.10-5-amd64-generic root=/dev/hdc1 ro console=tty0 quiet splash
initrd /boot/initrd.img-2.6.10-5-amd64-generic
savedefault
boot

title Ubuntu, kernel 2.6.10-5-amd64-generic (recovery mode)
root (hda0,0)
kernel /boot/vmlinuz-2.6.10-5-amd64-generic root=/dev/hdc1 ro console=tty0 single
initrd /boot/initrd.img-2.6.10-5-amd64-generic
savedefault
boot

title Ubuntu, kernel memtest86+
root (hd0,0)
kernel /boot/memtost86+
savedefault
boot

title Other operating systems:
root

title Microsoft Windows XP Home Edition
root (hd1,0)
savedefault
makeactive
chainloader +1

I hope it helps
Masonmop

edit: I just realised now how many kernels there are. When Grub is finally working, which kernel should I use to boot linux?

Last edited by masonmop; 07-01-2005 at 06:18 AM.
 
Old 07-01-2005, 07:43 PM   #25
masonmop
LQ Newbie
 
Registered: Jun 2005
Location: The 5th dimesion. I'm using Dine (dimsional Wine) to access this site
Distribution: Ubuntu!! Hooray for Canonical!!
Posts: 25

Original Poster
Rep: Reputation: 15
I just figured out that BIOS was booting my windows hd and grub was on the linux hd. I changed BIOS to boot from the linux hd, but when I tried to boot the default kernel it came up with the error

Error 18: Selected cylinder exceeds maximum supported by BIOS

It happened with all the kernels. When I tried to boot Windows, it basically restarted the computer, and I ended up back at Grub again.

I'm going on holiday on Monday, so I won't be able to do anything from Monday till Friday. I still have today and tomorrow though.
thx
Masonmop

Edit: I tried re-installing ubuntu and trying again, but Grub came up with the same error

Last edited by masonmop; 07-02-2005 at 12:10 AM.
 
Old 07-02-2005, 03:10 AM   #26
masonmop
LQ Newbie
 
Registered: Jun 2005
Location: The 5th dimesion. I'm using Dine (dimsional Wine) to access this site
Distribution: Ubuntu!! Hooray for Canonical!!
Posts: 25

Original Poster
Rep: Reputation: 15
i found out that all you have to do to fix error 18 is reinstall ubuntu with a small /boot partition at the start. But once I finally booted ubuntu, and I put in my username and password, it did exactly what happened in the Live CD and froze on the splash screen. I had to restart the computer by turning it off at the case.
Also, Grub won't boot Windows. I don't know why, but it says

Booting 'Microsoft Windows XP Home Edition'
root (hd1,0)
Filesystem type unknown, partition type 0x7
savedefault
makeactive
chainloader +1


and then hangs there
Is it because windows has to think it's in (hd0,0), not (hd1,0)?
how do I fix this?

Help would be appreciated
From any one on any of the above topics
It seems linux has a surprise for me at every turn
Thanks in advance
Masonmop

edit: I managed to get Windows booting from Grub. I just had to add the lines
map (hd0,0) (hd1,0)
map (hd1,0) (hd0,0)

to the windows thing in Grub so it thought it was in (hd0,0) not (hd1,0). Now I have to fix the problem with Ubuntu freezing after login. I have no idea at all, so any help is greatly accepted

Last edited by masonmop; 07-02-2005 at 05:58 AM.
 
Old 07-09-2005, 12:03 AM   #27
masonmop
LQ Newbie
 
Registered: Jun 2005
Location: The 5th dimesion. I'm using Dine (dimsional Wine) to access this site
Distribution: Ubuntu!! Hooray for Canonical!!
Posts: 25

Original Poster
Rep: Reputation: 15
I'm back from my holiday in Sydney, so I'm able to accept any help.
If anyone has any idea how to fix any of the above problems, please reply and help me
 
Old 07-09-2005, 12:08 AM   #28
linux-rulz
Member
 
Registered: Dec 2004
Distribution: Windows XP Home, Ubuntu Hoary
Posts: 584

Rep: Reputation: 30
Grub starts at 0, not 1. So for this section

Booting 'Microsoft Windows XP Home Edition'
root (hd1,0)
Filesystem type unknown, partition type 0x7
savedefault
makeactive
chainloader +1

Grub is trying to boot off of your second harddrive, not your first. if Windows is on your first partition on your first harddrive, it would be (hd0,0), not (hd1,0)
 
Old 07-11-2005, 03:41 AM   #29
masonmop
LQ Newbie
 
Registered: Jun 2005
Location: The 5th dimesion. I'm using Dine (dimsional Wine) to access this site
Distribution: Ubuntu!! Hooray for Canonical!!
Posts: 25

Original Poster
Rep: Reputation: 15
Windows is booting fine.
The problem is that Ubuntu freezes after I click the login button.
 
Old 07-14-2005, 04:41 AM   #30
masonmop
LQ Newbie
 
Registered: Jun 2005
Location: The 5th dimesion. I'm using Dine (dimsional Wine) to access this site
Distribution: Ubuntu!! Hooray for Canonical!!
Posts: 25

Original Poster
Rep: Reputation: 15
I found the problem, I had to add the line

Option "NoAccel" "true"

in the section about my graphics card

Thank you for all the help

Sincerely
Masonmop
 
  


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
Booting after installation linux_n00by *BSD 2 08-03-2004 10:39 AM
Problem in booting OpenBSD after installation diam0nd *BSD 2 05-21-2004 07:21 AM
Mandrake 10 installation problem after booting from cd1 haxu Mandriva 1 03-16-2004 02:35 PM
slackware 8.1 - booting and installation mattzere Slackware 1 02-02-2003 12:38 PM
installation booting Moleman Linux - Newbie 3 02-01-2003 08:52 AM

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

All times are GMT -5. The time now is 06: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
Open Source Consulting | Domain Registration