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 don't know anything about fedora, so maybe this is not the best or fastest way to solve the problem. But here it goes anyway: you might download a "live" distribution (like knoppix for example) as ISO file, and start the virtual machine of fedora with the iso file attached as the CD drive. Now knoppix boots, and it should
be able to mount your hard drive without any problems, allowing you to edit the rc.sysinit script.
I try to do your suggestion using Mandriva 2006 Live CD. The virtual machine boots from CD but doesn't put linux partition in the mounting points, the HD areas doesn't appear. The mounting points that I saw was floppy and CDROM.
Last edited by nightrider; 09-25-2007 at 09:29 AM.
don't know about fedora, but it could be that it just doesn't automaticly mount your hard drive, so you have to do it manually. As root, you can use the mount command for that:
mount /dev/hda1 /mnt/hd
or something alike, where /dev/hda1 is the partition on the hard drive, wich might be something else like sda1, or another partition, like hda2, sda2, etc... /mnt/hd is the mount point, so you can cd into /mnt/hd/etc/init.d/ to get to the script.
I can mount only directories that appear em /etc/fstab(the list of mounting points). When I ran Mandriva 2006 none directory of the HD appears in the mentioned file. 'Till I know, none live CD allow you to do modifications in the hard disk... Am I forgetting something?
well, I don't know about mandriva either, but I fixed many problems with my bootloader configuration using the slackware install CD. Not really a live distro of course, but it let you mount anything you want and edit files on the HD without problems. If you're only allowed to mount stuff available in fstab, that's a mandriva thing I guess...
In your first reply you wrote "you might download a "live" distribution (like knoppix for example) as ISO file, and start the virtual machine of fedora with the iso file attached as the CD drive. Now knoppix boots, and it should".
In the last one you wrote "but I fixed many problems with my bootloader configuration using the slackware install CD.".
I confess I'm confused. I must use the Installation CD #1 and boot the VM with it? Not with a live CD?
Excuse me if I'm boring you, but...
sorry to confuse you... I used both knoppix and slackware for the job when I needed, just wich CD was next to the computer But I never had mandriva or fedora, so I don't know what those allow you to do.
The idea is however the same: boot from any CD wich allows you to open a shell, so you can manually mount the HD and change the script. The slackware install CD just opens a shell after the boot process and the knoppix live CD just starts a whole system from where you can open a shell. From that shell, you can mount any HD available in the computer, you just need to know wich device it is (/dev/hda<x>, /dev/sda<x> etc).