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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am trying to reinstall the Grub booter (after reinstalling Windows XP in my PC) with the Suse install CD. From "rescue" I go to the YaST and modify the menu.lst file. But when I "finish" the configuration, I receive a message that there was an error installing the booter. So I guess there is something wrong with my menu.lst. I modified all the (hdX,X) and sdaX parameters. Can anyone help me to configure it correctly? Thanks!
This is the result of fdisk -l:
Device Boot Id System
/dev/sda1 * 7 HPFS/NTFS
/dev/sda2 b W95 FAT32
/dev/sda3 f W95 Ext'd (LBA)
/dev/sda4 b W95 FAT32
/dev/sda5 82 Linux swap
/dev/sda6 83 Linux
/dev/sda7 b W95 FAT32
/dev/sda8 b W95 FAT32
And this is my /boot/grub/menu.lst file:
# Modified by YsAT2. Last modification on Sat Jun 18 13:18:15
color white/blue black/light-grey
###Don't change this comment - YaST2 identifier: Original name: linux###
kernel (hd0,5)/boot/vmlinuz root=/dev/sda6 vga=0x31a selinux=0 splash=silent resume=/dev/sda6 elevator=cfq showopts
###Don't change this comment - YaST2 identifier: Original name: windows###
###Don't change this comment - YaST2 identifier: Original name: failsafe###
kernel (hd0,5)/boot/vmlinuz root=/dev/sda6 showopts ide=nodma apm=off acpi=off vga=normal noresume selinux=0 barrier=off nosmp noapic maxcpus=0 3
Thanks. I will try to explain my problem. I have Suse 9 and Windows XP in the same PC, and used to boot with Grub. Now, yesterday I reinstalled Windows and that deleted my Grub booter, so I am trying to reinstall it by using the Suse installation CD. What I do is that I boot with the Suse CD, and go to the "Rescue installation" option, there I do this to use the YaST:
Rescue login: root
mount dev/sda6 /tmp/myroot
Once in the YaST, I go to my "Boot Loader Setup" and edit the configuration files just as I copied above. When I select the "Finish" option, I get this error: "Error occurred while installing GRUB".
My question is: is there anything wrong with my configuration file? how can I install GRUB instead? Thx!
Yes, that's from the command line...
The root (hd0,<tab> displays:
Possible partitions are:
Partition num: 0, Filesystem type unknown, partition type 0x7
Partition num: 1, Filesystem type is fat, partition type 0xb
Partition num: 3, Filesystem type is fat, partition type 0xb
Partition num: 5, Filesystem type unknown, partition type 0x82
Partition num: 6, Filesystem type is reiserfs, partition type 0x83
Partition num: 7, Filesystem type is fat, partition type 0xb
Partition num: 8, Filesystem type is fat, partition type 0xb
Another question, what I cannot see partitions 2 and 4?? Thx!
The problem was that my /etc/fstab file had incorrect information (I compared it with the results of "fdisk -l). I modified it to reflect the real disk partitions and the booter is working now. Thanks guys!