Re: Problem After Rebooting
From: Paul E. Lehmann (plehmann_at_fred.net)
Date: 02/04/04
- Next message: Robbie: "Re: Installed with YAST"
- Previous message: Jason Novak: "Upgrading from SLES 7 to SuSE 8.2"
- In reply to: fhsrywu_at_dlgnco.com: "Re: Problem After Rebooting"
- Next in thread: fcver_at_niyavb.com: "Re: Problem After Rebooting"
- Reply: fcver_at_niyavb.com: "Re: Problem After Rebooting"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 04 Feb 2004 14:11:48 -0500
fhsrywu@dlgnco.com wrote:
> |> Boot in rescue mode and remove /etc/profile.local. Then try your
> |> modifications again. You can start a new shell to check if the PATH is
> |> what you want.
> |
> |I rebooted in rescue mode and could not even find the /etc/profile.local
> |file.
> |I am confused. I don't know where it could have gone.
> |
> |The /etc/profile file was there and seemed to be ok.
>
> When you boot in rescue mode, you are running off the CD and the
> partitions of the disk are not mounted. You have to manually mount the
> partition containing /etc, usually it's the same one with /, for which I
> hope you can remember your partition table or else you'll have to try
> them one by one.
>
> fdisk -l /dev/hda
> # candidate partitions are those of type Linux (not swap)
> mount /mnt /dev/hda1
> ls /mnt/etc/profile.local
> # nope
> umount /dev/hda1
> mount /mnt /dev/hda2
> ls /mnt/etc/profile.local
> # nope
> umount /dev/hda2
> mount /mnt /dev/hda3
> ls /mnt/etc/profile.local
> # yes
> rm /mnt/etc/profile.local
> umount /dev/hda3
> # reboot
>
> |When booting in safe mode, I observed that it said the following:
> |Master Resource Control: run level 3 has been reached
> |Skipped Services in run level 3
> |smbfs acpid splash
> |
> |When booting in regular mode, still get the green screen with the x
> |cursor but no kde boot up
>
> This is because it went to runlevel 3. I don't know whether this is due
> to safe boot or due to something you did. There is no GUI at runlevel 3.
> To get a GUI you need runlevel 5. You can however find a login prompt
> any of VC1 to VC6. Just go to VC1 using Alt-F1 and login. From the CLI
> do:
>
> rm /etc/profile.local
>
> Before you try that see if you can get to runlevel 5 from the boot
> loader by hitting tab before it times out and typing into the CLI entry
> dialog box:
>
> linux 5
>
> If that works then you need to edit your default runlevel to 5. You can
> do this in YaST or by editing /etc/inittab, the line id:N:initdefault
> should be 5 for N.
> --
IT WORKS!!!! THANX very much for the help.
The only problem I had with following your directions was that I had to use
the following syntax for the mount command.
mount /dev/hdb2 /mnt
Well, I learned quite a few things from this experience. I took up fooling
around with Linux after I retired so I could exercise the ole brain
neurons. They have been getting quite a workout.
Paul
- Next message: Robbie: "Re: Installed with YAST"
- Previous message: Jason Novak: "Upgrading from SLES 7 to SuSE 8.2"
- In reply to: fhsrywu_at_dlgnco.com: "Re: Problem After Rebooting"
- Next in thread: fcver_at_niyavb.com: "Re: Problem After Rebooting"
- Reply: fcver_at_niyavb.com: "Re: Problem After Rebooting"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|