LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 09-24-2007, 02:58 PM   #1
nightrider
Member
 
Registered: Apr 2005
Location: Sao Paulo - Brazil
Distribution: Fedora Workstation 32 64bits
Posts: 170

Rep: Reputation: 15
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
 
Old 09-24-2007, 05:44 PM   #2
iluvatar
Member
 
Registered: Jul 2003
Location: netherlands
Distribution: debian
Posts: 403

Rep: Reputation: 30
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
 
Old 09-25-2007, 09:28 AM   #3
nightrider
Member
 
Registered: Apr 2005
Location: Sao Paulo - Brazil
Distribution: Fedora Workstation 32 64bits
Posts: 170

Original Poster
Rep: Reputation: 15
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.
 
Old 09-25-2007, 11:00 AM   #4
iluvatar
Member
 
Registered: Jul 2003
Location: netherlands
Distribution: debian
Posts: 403

Rep: Reputation: 30
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.
 
Old 09-25-2007, 11:14 AM   #5
nightrider
Member
 
Registered: Apr 2005
Location: Sao Paulo - Brazil
Distribution: Fedora Workstation 32 64bits
Posts: 170

Original Poster
Rep: Reputation: 15
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
 
Old 09-25-2007, 11:30 AM   #6
iluvatar
Member
 
Registered: Jul 2003
Location: netherlands
Distribution: debian
Posts: 403

Rep: Reputation: 30
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...
 
Old 09-25-2007, 12:33 PM   #7
nightrider
Member
 
Registered: Apr 2005
Location: Sao Paulo - Brazil
Distribution: Fedora Workstation 32 64bits
Posts: 170

Original Poster
Rep: Reputation: 15
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...
 
Old 09-25-2007, 03:58 PM   #8
iluvatar
Member
 
Registered: Jul 2003
Location: netherlands
Distribution: debian
Posts: 403

Rep: Reputation: 30
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).
 
Old 09-27-2007, 04:32 PM   #9
nightrider
Member
 
Registered: Apr 2005
Location: Sao Paulo - Brazil
Distribution: Fedora Workstation 32 64bits
Posts: 170

Original Poster
Rep: Reputation: 15
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
 
Old 09-27-2007, 09:13 PM   #10
I_like_TUX
Member
 
Registered: Sep 2007
Distribution: Fedora 7, Edubuntu
Posts: 35

Rep: Reputation: 15
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.
 
Old 09-27-2007, 09:14 PM   #11
I_like_TUX
Member
 
Registered: Sep 2007
Distribution: Fedora 7, Edubuntu
Posts: 35

Rep: Reputation: 15
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
 
Old 10-02-2007, 09:33 AM   #12
nightrider
Member
 
Registered: Apr 2005
Location: Sao Paulo - Brazil
Distribution: Fedora Workstation 32 64bits
Posts: 170

Original Poster
Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
minimum rc.sysinit jiml8 Linux - Software 0 07-17-2006 09:50 PM
Rc.sysinit Very Maqbool Linux - Software 2 07-27-2005 02:29 AM
sysinit rilians Slackware 1 07-01-2004 09:36 AM
/etc/rc.d/rc.sysinit problem linuxinside Linux - Newbie 5 03-29-2004 10:27 AM
/etc/rc.d/rc.sysinit ---I/O Error KDE4me Linux - Newbie 3 05-30-2003 07:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration