Linux - NewbieThis 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
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.
Sorry for the stupid question. I have Ubuntu as my primary OS and need to edit the grub.conf to see xandros. With what do I edit it with. I tied opening it with Office, but it was read only. Please help. Thanks alot for any and all help.
If it's read only, that probably means you tried it as a regular user.
To run things as the root user ( adminitrator ) you will need to know the password.
Type: su -
Enter the root password
As the root user, type: kwrite /boot/grub/grub.conf to edit the file.
You need to have root privileges. Easiest is to open a root terminal in gnome. You will be prompted for your password.
If you're familiar with vi, emacs etc, you can now use those without the warning about readonly.
If you prefer an editor with a gui, type gedit filename (ignore the warning you get) or just gedit and browse to the file to edit.
BTW which version of Ubuntu are you using. I'm using Warty and don't have grub.conf, but menu.lst
Wim, you rock. And thanks to evryone else who replied. Wim, I have warty too, and have been having troubles finding a grub.conf that doesn't exist thanks all.
Copy and paste one of the command sequences already existent, replacing "root(hd0,0)" with the appropriate HD/partition Xandros resides in. If, for example, Xandros is found on a 2nd HD, replace it with "root(hd1,0)". If, instead, is on the same hard-disk but on the 3rd partition, replace with "root(hd0,2)". These are only examples, finding the correct one is up to you.
Also, keep the lines
but modify (if needed) the kernel version with the one Xandros have (like vmlinuz-2.6.7-386, don't know for sure). The rest (savedefault and boot) remains unaltered.
thanks a lot I will give that a try. If Xandros were to get update to a new kernel after I set it up do i need to reedit the kernel version? Just curious, cause I have 2 kernel versions of Ubuntu I can choose to boot into.
you should boot into ubuntu, then mount your xandros partition to see what the kernel name is. or better yet, copy everything in the boot config for xandros(i'm guessing xandros is another linux distro).
Don't know about Xandros. I can speak for Debian which, if you get a newer kernel version using their repositories, will automagically add the proper entry in menu.lst.
If, however, that doesn't work in Xandros or you compile your own kernel, there should be no big deal. Just add another command sequence like the previous ones, taking care to modify only the version number (if the new kernel will stay in its regular place such as /boot; otherwise change that too).
And one more thing: after getting a newer kernel (no matter how), keep the old one as well at least for a period of time to make sure everything is working fine with the new version. This way you can always boot safely with the old one to make the right adjustments.
Thanks for all of the replies, you all have been very helpful and it is appreciated. To mount the Xandros distro to see what kernel version it is do I type as root: mnt /dev/hda4 ? Xandros is on hda4. Do I need to issue another command after mounting it to get the kernel info? Thanks alot, I am a n00b to linux but have learned a lot in the last week thanks to everyone on this forum. you guys and gals are great. I no longer even have Windows XP on my computer.
Distribution: SuSE 9.3 Pro / Slackware 10.1 / WBEL 3
Posts: 57
Rep:
If it's stating that you need to specify a filesystem type you need to add the -t <filesystem used on the mount> I.E. -t ext2 or -t jfs etc. etc. Good luck.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.