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 recently reinstalled Windows XP on the same partition as it was before with RedHat 9.0 on the other. However, now when I restart my computer, it skips the bootloader and boots right into Windows XP. Does anyone know how I can get the bootloader to come up again everytime I restart without having to reinstalled RedHat? Thanks in advance.
I have a similar problem, but I don't have a floppy drive or a rescue disk. I booted up from knoppix, and can access my hard disk partitions, but i can't get grub to install back on the mbr. Here's what happens:
root@ttyp0[/]# chroot /mnt/hda4 grub-install /dev/hda
/dev/hda does not have any corresponding BIOS drive
I think it might be because I booted from knoppix so /mnt/hda4/proc is empty, whereas /proc/ is full of stuff (i presume from the knoppix boot process)
However, hda might not be correct. See my above post regarding drive assignments. If you do:
root@ttyp0[/]# ls /mnt/hda4
do you see your system? If you do, then hda is correct. If you do not, then you need to determine where your system is really located.
Another thing you might want to try is to copy all of the grub stuff from your real systems /etc to /etc on the knoppix system. After it is all copied, then run the grub-install command and see if that works. I have never done it that way before, but it might work. Post back and let me know how things are working.
and look for the line that lists /mnt/hda4. is the device that is mounted there /dev/hda4 or something else? If it is something else, replace that with the /dev/hda in the grub-install command, but leave off the 4. If it is /dev/hda4, then write back and I'll see if I can come up with something else.
/dev/root on / type ext2 (rw)
/dev/cdrom on /cdrom type iso9660 (ro)
/dev/cloop on /KNOPPIX type iso9660 (ro)
/ramdisk on /ramdisk type tmpfs (rw, size=611168k)
usb on /proc/bus/usb type usbdevfs (rw,devmode=0666)
automount(pid403) on /mnt/auto type autofs (rw, fd=4,pgrp=403,minproto=2,maxproto=4)
/dev/hda4 on /mnt/hda4 type reiserfs (rw, nosuid, nodev)
/dev/hda1 on /mnt/hda1 type ext2 (rw, nosuid,nodev)
Is grub configured to load into the mbr or the first partition? If it is in the partition, then the problem might be the nodev option for /dev/hda1 (although I'm not super familiar with that option). Try remounting it without the nodev option
root@ttyp0[/]# umount /dev/hda1
root@ttyp0[/]# mount /dev/hda1 /mnt/hda1