Linux - Newbie This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
09-24-2007, 02:58 PM
|
#1
|
Member
Registered: Apr 2005
Location: Sao Paulo - Brazil
Distribution: Fedora Workstation 32 64bits
Posts: 170
Rep:
|
rc.sysinit in error
I altered the rc.sysinit to define some environment variables to a new editor.
It seems that I made a mistake because Fedora says that it can't run the rc.sysinit.
I'm running Fedora Core 5 under VMWare. Linux enters in text mode but with the file system in read only mode. By this way I can't remove rc.sysinit and restores the original one.
The similar treads talk about disk bootable linux... And in my case, under VMWare?
Is there a possibility of corrects this trouble?
Greetings from Sao Paulo - Brazil
Ricardo
|
|
|
09-24-2007, 05:44 PM
|
#2
|
Member
Registered: Jul 2003
Location: netherlands
Distribution: debian
Posts: 403
Rep:
|
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.
Greetings,
Iluvatar
|
|
|
09-25-2007, 09:28 AM
|
#3
|
Member
Registered: Apr 2005
Location: Sao Paulo - Brazil
Distribution: Fedora Workstation 32 64bits
Posts: 170
Original Poster
Rep:
|
Oops!
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.
Thank you
Ricardo
Last edited by nightrider; 09-25-2007 at 09:29 AM.
|
|
|
09-25-2007, 11:00 AM
|
#4
|
Member
Registered: Jul 2003
Location: netherlands
Distribution: debian
Posts: 403
Rep:
|
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.
|
|
|
09-25-2007, 11:14 AM
|
#5
|
Member
Registered: Apr 2005
Location: Sao Paulo - Brazil
Distribution: Fedora Workstation 32 64bits
Posts: 170
Original Poster
Rep:
|
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?
[ ]
Ricardo
|
|
|
09-25-2007, 11:30 AM
|
#6
|
Member
Registered: Jul 2003
Location: netherlands
Distribution: debian
Posts: 403
Rep:
|
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...
|
|
|
09-25-2007, 12:33 PM
|
#7
|
Member
Registered: Apr 2005
Location: Sao Paulo - Brazil
Distribution: Fedora Workstation 32 64bits
Posts: 170
Original Poster
Rep:
|
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...
|
|
|
09-25-2007, 03:58 PM
|
#8
|
Member
Registered: Jul 2003
Location: netherlands
Distribution: debian
Posts: 403
Rep:
|
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).
|
|
|
09-27-2007, 04:32 PM
|
#9
|
Member
Registered: Apr 2005
Location: Sao Paulo - Brazil
Distribution: Fedora Workstation 32 64bits
Posts: 170
Original Poster
Rep:
|
I booted the VM of VMWare where I normally ran Fedora Core 5with Kurumin 4 Live CD. It's a distro derived from Kannopix. It boots OK, but I can't access de HD area.
Is there some trick I'm not know?
Ricardo
|
|
|
09-27-2007, 09:13 PM
|
#10
|
Member
Registered: Sep 2007
Distribution: Fedora 7, Edubuntu
Posts: 35
Rep:
|
Here is what you can do at least:
1. boot the VM with LIVE/installation/rescue iso.
2. after you get a shell, cd to /dev
3. do a ls to see if you have devices like hda, hdc, ..., sda, sdb, ...
In most distro., (except for the new Fedora 7 as far as I know), the following is true:
For a system with IDE harddrive on primary master and CDROM on secondary master, you should see hda and hdc respectively. If you have a SATA/USB/SCSI harddrive, you should see sda.
Follow the above example to see if the virtual harddisk has been detected. (for a VM, you should only have a CDROM and a harddisk, I think).
Please tell me what you can see inside your /dev, for example, tell me something like below:
hda, hda1, hda2, hda3, hdc
Hope this help.
|
|
|
09-27-2007, 09:14 PM
|
#11
|
Member
Registered: Sep 2007
Distribution: Fedora 7, Edubuntu
Posts: 35
Rep:
|
Sorry, I posted 2 times.
Last edited by I_like_TUX; 09-27-2007 at 09:18 PM.
Reason: double post by inexperienced user, sorry
|
|
|
10-02-2007, 09:33 AM
|
#12
|
Member
Registered: Apr 2005
Location: Sao Paulo - Brazil
Distribution: Fedora Workstation 32 64bits
Posts: 170
Original Poster
Rep:
|
First excuse me for the delay in answer.
Bad news: Win XP became corrupted and I lost all my data, including VMWare player and its appliances.
But thanks for all people that try to help.
See you soon with more troubles.
Ricardo
Last edited by nightrider; 10-02-2007 at 09:34 AM.
|
|
|
All times are GMT -5. The time now is 04:26 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|