LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 03-16-2006, 12:41 PM   #1
nikaudio
LQ Newbie
 
Registered: Mar 2006
Posts: 16

Rep: Reputation: 0
how to stop application and go back to shell


Hello there,

I'm not sure if is not ideal miallist for my problem, but maybe somebody
will be able to help me.
I do not know there to look for help.

I have Dell Optiplex GX-60 diskless (niether CDROM nor FDD, it got Ethernet
only) machine with RedHat Linux which is booting and lanching some
application.
I need to stop this application and go back to shell and modified system to not to launch that application.
Nothing seems to work, I have tried everything I could think of.

Any advice will be surly appreciated.

I took up HDD from that machine and added it as second HDD to other machine with RH Linux.
# fdisk -l /dev/hdb
give me:
/dev/hdb1 * 1 933 7494271 7 HPFS/NTFS
# mount -t ntfs /dev/hdb1 /mnt/hdd

to my surprise there is Windows on that partition, not even a trace of Linux.

CHS od HDD is 14888 cylinders 16 heads and 63 sectors so ~ 7.3GB
df -m gives me:
7.3GB so nothing is hidden.


Any advice ?

Regards
Slawomir
 
Old 03-16-2006, 02:24 PM   #2
RobertP
Member
 
Registered: Jan 2004
Location: Manitoba, Canada
Distribution: Debian
Posts: 454

Rep: Reputation: 32
That is quite a puzzle! I wish I were there.

Check the BIOS of the GX-60 to make sure that it boots from the hard drive and not the network... Perhaps it is doing PXE booting of RedHat.

Do you see Windows booting at the beginning? Perhaps it is launching RedHat from Windows with an emulator or virtual machine. What messages do you see on the screen during boot? It is possible there is a network bootloader in the MBR of the GX-60 drive. What happens if you unplug the network and boot?

If the second machine is Linux only, and has no Windows, you should be able to clear the drive with dd. Be careful, you could clobber something unintended! Of course, with the drive clear, there should be no OS to boot on the GX-60. You will need to do an installation on the second machine or boot from a USB drive on the GX-60. It is a little tricky to install on another machine and transfer the drive back. You would need to edit /etc/fstab on the installation filesystem to point to the correct drive on the GX-60...

If your GX-60 boots some programme, can you exit the programme from a GUI, or by typing CTRL-c or by opening another console, ctrl-alt-F1? If it is Windows running, ctrl-alt-del may do something...


Let us know what you find.

Last edited by RobertP; 03-16-2006 at 02:29 PM.
 
Old 03-16-2006, 03:25 PM   #3
nikaudio
LQ Newbie
 
Registered: Mar 2006
Posts: 16

Original Poster
Rep: Reputation: 0
I have checked it is booting from HDD,
There is no sign of Windows at any time, I could see it is Linux RedHat nash 3.4.xx.
There are normal messages you would see in dmesg after booting linux. After starting all services form init, application starts.
Unplugging network does not change a thing. I tried to exit GIU by CRTL-Q,C CRTL-ATL_Fx you named it , it is only displaying volume level when I do that, somebody caught all interruption known to me. Application seems unstopable.

Whole windows is taking about 1.8GB, how do I find that hidden Linux or better stop application and go back to shell. Second machine to which I conncted HDD is RedHat Linux only.
Regards
Slawomir
 
Old 03-16-2006, 04:37 PM   #4
RobertP
Member
 
Registered: Jan 2004
Location: Manitoba, Canada
Distribution: Debian
Posts: 454

Rep: Reputation: 32
Very peculiar. You could try a diffferent fdisk, like cfdisk to see if it sees anything different. It is probably a grub loader, perhaps you can interrupt it to get the grub menu...

If that does not work, try borrowing a floppy or CD drive to do the install on the GX-60. You may need to adjust the BIOS to boot from the borrowed drive.
 
Old 03-17-2006, 08:15 AM   #5
nikaudio
LQ Newbie
 
Registered: Mar 2006
Posts: 16

Original Poster
Rep: Reputation: 0
My fdisk sees whole HDD, there is only bootable HPFS/NTFS partition with windows OS. So Windows have to boot linux (which I could not find). Timeout must be zero in grub.conf because I do not see it during boot time.
regards
Slawomir
 
Old 03-17-2006, 08:21 AM   #6
RobertP
Member
 
Registered: Jan 2004
Location: Manitoba, Canada
Distribution: Debian
Posts: 454

Rep: Reputation: 32
Can you borrow a floppy or CD drive, put it on the GX-60 and install over the whole disk? You might try a Knoppix live CD first to make sure the system is compatible.
 
Old 03-20-2006, 07:54 AM   #7
nikaudio
LQ Newbie
 
Registered: Mar 2006
Posts: 16

Original Poster
Rep: Reputation: 0
Doing that would not I erase whole HDD ?
I do not want to loose content of this HDD ?
regards
 
Old 03-20-2006, 09:19 AM   #8
RobertP
Member
 
Registered: Jan 2004
Location: Manitoba, Canada
Distribution: Debian
Posts: 454

Rep: Reputation: 32
Knoppix live CD does not write anything to disk unless you run some installer application. You could use Knoppix to examine the subject partition and move the stuff you want to save to another disk the you install or connect via USB. You could also start a web server in Knoppix and serve the relevant directories to another computer. To be safe, mount the partition read-only. You will need to install a CD drive temporarily to run Knoppix, of course.
 
  


Reply



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
Shell (Back) to GNOME coffeekid Linux - Newbie 2 05-25-2005 06:25 PM
How I can associate the right application back to a .desktop file? carbono Red Hat 0 08-07-2004 03:36 PM
How to shell out of and back into xwindows? SharpyWarpy Linux - General 2 05-19-2004 05:26 PM
how do I stop kde from the shell? qsir1 Linux - General 2 02-06-2004 12:27 AM
Back-up Shell Script apoc013 Linux - Newbie 7 01-23-2004 01:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 03:10 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