Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
title XUbuntu64, kernel 2.6.12-10-amd64-generic (recovery mode)
root (hd0,3)
kernel /boot/vmlinuz root=/dev/sda4 ro single
initrd /boot/initrd.img
boot
title xUbuntu64, memtest86+
root (hd0,3)
kernel /boot/memtest86+.bin
boot
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
I put in the ???? so that once I can boot into this system I can out the correct kernel version in here.
I am not sure about where Xubuntu should be booting from although I think I put the fist install ie / on sda2 with /home on sda3, but I am not sure. How can I check this so that I can set grub to look in the correct place to boot?
As a last resort I could always reinstall the xubuntu32 and get the installer to correct my grub/menu.conf file but I would rather not do this as I am sure the install is fine it appears to be the grub/menu.lst file at fault.
I have a feeling that all I need to do is to correct the (hd0,x) parameters so that grub knows where to look.
Can anyone tell me how I can take a look at the drive partions in sda?
Easy to find out. Boot into xubuntu 64 and mount sda1 and sda2 and sda3 and possible sda4 on some mount points and use ls to list the contents. home would contain your user accounts directories and / would contain the entire directory tree viz. /boot, /bin, /dev, /etc .............
btw whatz on the first partition, as your menu.lst file doesn't reference it ?
Thanks for the help guys but I really needed to get this system up and running today so I reinstalled Xubuntu 32bit, it only took about 30 mins anyway and as I had nto data to loose is no big deal.
my first partition on the first drive contains the /boot files and is about 100Mb. I assume it contains the Master Boot loader.
In any case i can now boot into all my windows Oss and both of my Xubuntu installs.
no the mbr is not "on" any partitions. it's a special area on the disk... seperate to any partioning. the disk needs to be told what to do when it's read at boot time - that's what the mbr does.
i don't understand what you mean. the fact that there is a /boot on your 1st partition means nothing - every instance of linux has this. it's where the kernel lives.
Thanks for clearing that up for me about the MBR. I thought that it was a separate partition.
Anyhow, the first partition I have is sda1, is about 100Mb and /boot is the mount point.
Not sure I completly understand all this but my system is working.
Things on hard drives live in "blocks" which are one or more "sectors".
The mbr lives in the first 512 byte block (block 0).
Partition tables for primary partitions live in this same block.
Partition tables for **extended** partitions live in blocks 1 and above
The actual partitions start in block 63 or 64, but I think this is convention and not a hard requirement.
Amadeus (the movie): After listening intently to Mozart's latest masterpiece, the emperor frowns, shakes his head, and declares: "No--too many notes."
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.