LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 07-29-2005, 09:05 PM   #1
notmatt
Member
 
Registered: Apr 2004
Distribution: Mepis/Kubuntu/Other
Posts: 32

Rep: Reputation: 16
[SOLVED]GRUB - kubuntu won't boot


Hi all

I'm having some problems setting up my multiboot system. This is what my drives look like:

/dev/sda1 - 2gb of swap
/dev/sda2 - 30mb of boot
/dev/sda3 - mepis root partition
/dev/sda4 - extended partition
/dev/sda5 - spare 10gb for other distro at later date
/dev/sda6 - 20gb /home
/dev/sda7 - kubuntu root partition

Here is my GRUB menu.lst which is in the Mepis root and is installed on the MBR:

Code:
timeout 15
#color cyan/blue white/blue
foreground ffffff
background 0639a1
#gfxmenu /boot/grub/message

title MEPIS at sda3, kernel 2.6.10
root (hd0,1)
kernel /boot/mepis/vmlinuz-2.6.10 root=/dev/sda3

title Kubuntu at sda7, kernel 2.6.10
root (hd0,1)
kernel /boot/kubuntu/vmlinuz-2.6.10-5-386 root=/dev/sda7

title MEMTEST
kernel /boot/memtest86.bin
Here is my mepis /etc/fstab/ :

Code:
# Static entries below, do not use 'users' option in this area
/dev/sda3 / reiserfs defaults,noatime,notail 0 0
/dev/sda1 swap swap sw,pri=1 0 0
none /proc proc defaults 0 0
none /proc/bus/usb usbfs devmode=0666 0 0
none /dev/pts devpts mode=0622 0 0
none /sys sysfs defaults 0 0
/dev/sda6 /home reiserfs defaults,noatime,notail 0 0
Here is my kubuntu /etc/fstab:

Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/sda7       /               reiserfs notail          0       1
/dev/sda6       /home           reiserfs defaults        0       2
/dev/sda1       none            swap    sw              0       0
/dev/hdb        /media/cdrom0   udf,iso9660 ro,user,noauto  0       0
/dev/hda        /media/cdrom1   udf,iso9660 ro,user,noauto  0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
When I try to boot into kubuntu it gets quite away with the boot and then crashes giving the following error:

VFS: Cannot open root dev "sda7"
Please append a correct "root=" boot operation
Kernel Panic - not syncing
VFS: unable to mount root fs on unknown block (0,0)

I'm dopey, I added:

/dev/sda2 /boot ext2 defaults 1 2

to my kubuntu /etc/fstab and it works fine now. Ooops

Last edited by notmatt; 07-30-2005 at 09:41 AM.
 
Old 08-03-2005, 12:07 AM   #2
rarsa
Member
 
Registered: Nov 2004
Location: Canada
Distribution: Puppy Linux/ Mint
Posts: 210

Rep: Reputation: 31
I wish you had added a new post so this one does not stay as a 0 replies post and I did not have to read it all before realizing that you had already solved it.

Anyway, I'm glad you found the solution.

And just to educate me, I'm courious about your partition set-up:

- Why do you have such a large swap? do you have little ram and run heavy processes? Do you support many users logged in to this computer?

- What advantage do you see on having a single /boot partition for all your distros?. In my home system I only have a root partition for each distro.

- Do you share your home partition between distros? How has that helped you? What problems have you faced?

Are there advantages or is it just a matter of preference?
 
Old 08-03-2005, 05:41 AM   #3
notmatt
Member
 
Registered: Apr 2004
Distribution: Mepis/Kubuntu/Other
Posts: 32

Original Poster
Rep: Reputation: 16
Quote:
Originally posted by Raul Suarez
I wish you had added a new post so this one does not stay as a 0 replies post and I did not have to read it all before realizing that you had already solved it.
Sorry. I honestly wasn't expecting an answer to it now. Thanks for taking the time to read it tho.

Quote:
- Why do you have such a large swap? do you have little ram and run heavy processes? Do you support many users logged in to this computer?
Just in case really, I do have a lot of RAM, but then at the same time I often run a lot of processes. I'd rather have the space, just incase.

Quote:
- What advantage do you see on having a single /boot partition for all your distros?. In my home system I only have a root partition for each distro.
It's just a handy place to store the kernels. I'm not sure it gives me any real benefits apart from ease of configuration. Quite a few people recommend using a /boot partition for much better reasons.

Quote:
- Do you share your home partition between distros? How has that helped you? What problems have you faced?
I'd advise keeping the /home/user/ partitions in your root partition. If you want data shared across installs consider making a /data or /home/data/ partition. That is what i'm going to do. I chose usernames that were the same on all installs, it did cause some problems. KDE and Gnome trying to share the same desktop folder doesn't work!

Quote:
Are there advantages or is it just a matter of preference?
It works ok for a multi-boot system. Not experienced enough to give any advantages. I'm happy with it.
 
Old 08-03-2005, 10:15 AM   #4
rarsa
Member
 
Registered: Nov 2004
Location: Canada
Distribution: Puppy Linux/ Mint
Posts: 210

Rep: Reputation: 31
Thanks.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing kubuntu on ubuntu with kubuntu CD coolblue Ubuntu 6 06-30-2008 11:53 AM
gentoo : grub: The file /boot/boot/grub/stage1 not read correctly Boudewijn Linux - Software 3 05-21-2008 04:13 AM
Problem after boot in Kubuntu Breezy zoltrix Ubuntu 1 11-22-2005 11:02 PM
need to access /boot/grub/menu.lst and /boot/grub/device.map neouto Linux - Newbie 8 09-04-2005 12:45 PM
Installing kubuntu on ubuntu with kubuntu CD coolblue Linux - Newbie 1 07-12-2005 02:22 PM


All times are GMT -5. The time now is 08:53 AM.

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