LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   install redhat 9.0 on laptop (https://www.linuxquestions.org/questions/linux-newbie-8/install-redhat-9-0-on-laptop-271450/)

lilghost 12-29-2004 04:19 AM

install redhat 9.0 on laptop
 
well my laptop is benQ joybook 7000. i've finish installing the linux by using the 'linux noprobe nousb nopcmcia nofirewire' method.

when i reboot it hangs while loading the pass, ok, fail part on ohci1394. now im facing problem to go into the linux to change the mount partition where i read somewhere to change /etc/subdirectory or something. can someone assist me....im stuck here. thanks

fax8 12-29-2004 05:12 AM

hi,

you could boot you sistem with a boot cd, like knoppix or also first cd of your distribution and then select only for a coomand line.
then yo have to mount the partition that contains /etc folder and edit files in it. (usually rc.d/init.d/ )

You must make the file that loads ohci1394 not executable by running "chmod -x rc.filename"

lilghost 12-30-2004 06:54 PM

fax8,
well i've boot up with a floppy A and it comes to a
boot:
well i dont have any idea what to type and let it boot. when it boots it starts and stop at the kernel init cant found or something. so i try the 2nd time again at the boot
boot: linux rc.d/init.d/
the same thing happens. sorry im really totally a newbie and have no idea at all how to access inside. could you teach me step by step? sorry and thanks. and where does mount partition does?

lilghost 12-30-2004 06:57 PM

sorry and i also try to do it with cd 1. i typed linux text and enter. then it will still hangs at the ohci1394. or loading ohci1394. so i typed linux nofirewire nousb noprobe nopcmcia text and it will go into installation. if im right, where should i change the rc.d/init.d/ or the mount partition? coz when i clicked next, it will only be to the add packages. sorry again

fax8 01-02-2005 11:00 AM

ok,
I'll try to explain it better.

1st solution:
here there is a problem similar to your (read second fredatwork post):
http://www.linuxquestions.org/questi...5&pagenumber=1

cutted and pusted from that thread:
Using GRUB, I hit 'e' when the GRUB screen shows up. Then I choose the second line (the kernel one), I hit 'e' again. Then I added at the end of the line the following " nofirewire" and then ENTER and then 'b'. Linux started to boot, skipped the loading of the firewire driver but hung on hardware detection.

2nd solution:
You need to be able to edit you /etc/ directory that contains your sistem's settings.
Into this directory there is a subdirectory called init.d .
This directory (full path /etc/init.d/ ) contains the list of things that the system do
during boot process.
You need to find the file that loads your ohci1394 support and then make it not executable.

Then when your sistem will boot it will not activate the ohci1394 support and it will not hangs.

So.. to edit your /etc/rc.d/init.d directory you need to mount your sistem partition.
You can do it booting your first cd with

boot: linux nofirewire rescue

then your system will be mounted under /mnt/sysimage/
Now you'll get a command line;
enter into the system configuration directory typing:

cd /mnt/sysimage/etc/init.d

and find the file wich load ochi support and disable it:
chmod -x rc.filename


hope this helps you!

Fabio.

p.s.: Why don'you consider using a newer linux distribution?
My favourite is Slackware 10.0!

lilghost 01-02-2005 12:25 PM

i've tried the steps till the command line appear like this

sh-2.05b#

so i typed cd /mnt/sysimage/etc/init.d but nothing is shown...after i enter it, the next command line will appear again. i totally cant find the filename that loads ohci1394. sorry to trouble you again. and also i tried the first option and the result is worst that it hangs on hardware detection...i try to type more instead only nofirewire but it just has errors. could i have like ur msn or something so that i can do it directly real fast? thanks again for ur patience with my noobie brain of linux.

fax8 01-03-2005 05:05 AM

Hi!

so.. I think that the faster and easier solution for you is to get a new Linux distribution. Your sistem's hangs means that your computer hardware have problems running with redhat 9.0, maybe
because your hardware is newest that rh 9.0 so not supported.

I understood that you are a beginner and that you are on your fist experience with linux so let
rh 9.0 work on your computer could be hard, and you can easily get bored of linux. I don't wont it!

So.. get a newest Linux distribution. If you like red hat, fedora core 3 should be ok.
For a beginner Mandrake should be the best.
If you want more, get Slackware 10.0 .


The above is my opinion. If you want to try to get red hat 9.0 boot do like this.

1 - Insert your 1st cd-rom of rh.
2 - boot: linux nofirewire rescue
Now you'll get a command line, and your sistem will be mounted under /mnt/sysimage/
3 - move to /mnt/sysimage/etc/rc.d/ directory with "cd /mnt/sysimage/etc/rc.d/"
4 - now you need to edit your rc.sysinit file wich loads the firewire stuff that holds your pc.
you can use "pico rc.sysinit" and you open this file with pico a text editor.
then search the firewire lines with "ctrl+w firewire" (on the top of the screen there are the
commands that pico support)

You will find this block of lines:

# Ooh, firewire too.
if ! LC_ALL=C grep -iq "nofirewire" /proc/cmdline 2>/dev/null ; then
aliases=`/sbin/modprobe -c | awk '/^alias ieee1394-controller/ { print $3 }'`
if [ -n "$aliases" -a "$aliases" != "off" ]; then
for alias in $aliases ; do
[ "$alias" != "off" ] && action $"Initializing firewire controller ($alias): " modprobe &alias
done
LC_ALL=C grep -q "SBP2" /proc/bus/ieee1394/devices 2>/dev/null && modprobe sbp2 >/dev/null 2>&1
fi
fi

put a # before every lines like here:

# Ooh, firewire too.
#if ! LC_ALL=C grep -iq "nofirewire" /proc/cmdline 2>/dev/null ; then
# aliases=`/sbin/modprobe -c | awk '/^alias ieee1394-controller/ { print $3 }'`
# if [ -n "$aliases" -a "$aliases" != "off" ]; then
# for alias in $aliases ; do
# [ "$alias" != "off" ] && action $"Initializing firewire controller ($alias): " modprobe $alias
# done
# LC_ALL=C grep -q "SBP2" /proc/bus/ieee1394/devices 2>/dev/null && modprobe sbp2 >/dev/null 2>&1
# fi
#fi



Save the rc.sysinit file.
now firewire support is not loaded on boot.

Ok now I don't know what else could hang your boot process. so try this and let me know if
it works!

If you need to contact me I will be online with msn from 7 pm (Italian time).
My msn account is fvaresanoFUCKSPAM@FUCKSPAMyahoo.it (remove FUCKSPAM :-) )

Good Look!

Fabio

lilghost 01-04-2005 12:51 AM

i try on redhat 9.0 because thats what my friend teach me and he's also a student. well if after this assignment i might change to slackware like you say at least you are much familiar on linux than my friend. lolz

well everything works fine but im stuck at checking for new hardware...need help here now. >.< really sorry to bother...thanks a million~~!

fax8 01-04-2005 03:22 AM

Ok.
I have the solution to your problem.

As we did for firewire, also harware detection need to be stopped
Do this steps:

When your system is booting and showing the first messages press some times Shift+i .
This will bring you to interactive-startup.
interactive-startup will ask you for what services loads during boot process.
So you will get some questions, answer everything yes except to
this question:
Start service kudzu? (y)es/(n)o/(c)ontinue.
answer no typing "n".
Answer y to all others questions.

If something else will hang your pc simply reboot and answer no to the
question that hangs it.
If nothing else hangs your pc you can answer c and the boot process
will continue as normal.

Let me know if it work.

lilghost 01-05-2005 07:23 AM

i guess i've corrupted the file system. i will need to re-install again. sigh...how i wish u r here fax8 i mean in real life so u can fix it for me. >.< will update to u of it again. thanks a lot again...

fax8 01-05-2005 12:17 PM

ok, I wait your news.

Good Look!

Bye


Fabio Italy


All times are GMT -5. The time now is 07:44 PM.