•   Notifications
  • Welcome to our forums

    Join us now to get access to all our awesome features. Once registered and logged in, you will be able to create topics, post replies, give reputation to your fellow members, get your own private messenger, and so, so much more.

    + Reply to Thread + Post New Thread
    Page 1 of 2 1 2 LastLast
    Results 1 to 15 of 21

    Thread: Redhat 9 and Virtual PC
  • Share This Thread!
    • Share on Facebook
    1. #1
      Join Date
      Nov 2001
      Location
      Montreal, Quebec, Canada
      Posts
      394

      Redhat 9 and Virtual PC

      Hi,

      I want to switch to Redhat from winxp, and tryed to install it as a virtual machine using virtual pc v5.2.

      All the setup when fine until rebooted, all i see is a big (maybe 1900x600) black screen. I can barely see some icons, cause everything is black, but I can distinguish some icons, and the cursor. I think it is the login screen...

      How can I correct this? I'm a linux newbie so I don't know what to do

      tank you very much.

    2. #2
      Run the installation again, this time as an upgrade, and set your screen resolution for the xserver to something low, eg 640X480 or 800X600- this will allow you to show the login screen properly at first boot.
      I don't use Virtual Machine (VMWare fan), but isn't there any option to install extra system drivers post the OS install?
      On VMware they are called "VMWare Tools" and make a huge difference regarding performance.
      The revolution cannot be a lever, or an essay, or tablaeu, or embroidery. It cannot proceed mellowly, piece-by-piece, gently, devoutly, simply and humbly.
      Mao Zedong

    3. #3
      Join Date
      Sep 2001
      Location
      Austria
      Posts
      2,600
      hmmz, I would say, try VMWare mate, it is easier to use ...

      btw the resolution you can either change with the setup program or you just look for the file XF86Config in your home directory and edit the resolution line for your screen
      Life plays with us, like the wind with the leaf
      Success: It is not the position you stand, but the direction in which you look.

    4. #4
      Join Date
      Nov 2001
      Location
      Montreal, Quebec, Canada
      Posts
      394
      I'll try reinstallating again, as an upgrade to change the resolution.

      The problem is, after booting up, I don't know how to configure X since the screen is black
      On bootup I have options, but don't understand them... I think its called Grub

      I can:
      hit 'e' to edit the command before booting
      'a' to modify kernel arguments before booting
      or 'c' for command line

      'e' gives me the choice between:

      root (hd0,0)
      kernel /vmlinuz-2.4.20-8 ro root=LABEL=/
      initrd /initrd-2.4.20-8.img

      and 'a' gives me a command line witch start with "grub append>" and the following:
      ro root=LABEL=/

      Can I change the resolution from there? I don't know where to change it since all I see is black :P

      tanx guys!

    5. #5
      Join Date
      Sep 2001
      Location
      Austria
      Posts
      2,600
      Hello !

      Yeah, that seems to be grub, the boot loader ...
      try to use the c option, command line and type in linux init=/bin/bash
      enter, this should bring your right into a root shell to your box, after boot up is done:
      find / -name XF86Config
      Once you located the file for your usersname, edit it with your text editor, vi, pico, emacs and change the resolution there ..
      Once that is done, type in sync and press enter. ..
      Now reboot the box ... hope this helps
      Life plays with us, like the wind with the leaf
      Success: It is not the position you stand, but the direction in which you look.

    6. #6
      Join Date
      Nov 2001
      Location
      Montreal, Quebec, Canada
      Posts
      394
      tanks nb.

      Is the command:
      init=/bin/bash
      ?

      Because I can't run it... it tells me:
      Error 27: Unrecognized command

      Heres a screenshot (The error 27 is at the top, and the rest is what "help" gives me...)

      tanx guys
      Attached Images

    7. #7
      Join Date
      Sep 2001
      Location
      Austria
      Posts
      2,600
      try:
      linux init=/bin/bash
      Life plays with us, like the wind with the leaf
      Success: It is not the position you stand, but the direction in which you look.

    8. #8
      Join Date
      Nov 2001
      Location
      Montreal, Quebec, Canada
      Posts
      394
      Same thing with "linux init=/bin/bash"
      Error 27: unknown command

      I can't see nothing in the help that's close to "linux" or "init" (initrd?)

      is it the "kernel" command?

    9. #9
      Join Date
      Nov 2001
      Location
      Montreal, Quebec, Canada
      Posts
      394
      I entered this command in the command line:
      kernel /vmlinuz-2.4.20-8 ro root=LABEL=/
      and after I was able to execute "initrd":
      initrd=/bin/bash
      But I get "Error 15: file not found"

    10. #10
      Join Date
      Sep 2001
      Location
      Austria
      Posts
      2,600
      http://www.redhat.com/docs/manuals/l...ng-single.html

      follow this instructions, gets you in single user mode as well
      Life plays with us, like the wind with the leaf
      Success: It is not the position you stand, but the direction in which you look.

    11. #11
      Join Date
      Nov 2001
      Location
      Montreal, Quebec, Canada
      Posts
      394
      ok thanks

      booting now in single mode. I'll find my XF86Config file

      tanks guys

    12. #12
      Join Date
      Sep 2001
      Location
      Austria
      Posts
      2,600
      good ... and please do not forget to run the sync command after you have edited your config file
      Otherwise the changes might get lost ....
      Life plays with us, like the wind with the leaf
      Success: It is not the position you stand, but the direction in which you look.

    13. #13
      Join Date
      Nov 2001
      Location
      Montreal, Quebec, Canada
      Posts
      394
      Hum... I'll try to not forget, but since I don't know what it is...

    14. #14
      I see that initrd is loaded at startup... which may be a problem- or not.... depends on your Linux installation routine. The only reason I can imagine that initrd is loaded is that you chose to install an FTP server which explicitly NEEDS initrd (eg WU-FTPd), if the case is so plz reinstall leaving your FTP server or any other servers that can operate in secure mode-only out, and when booted properly you can install them afterwards... The redhat installler will spot the dependencis and tell you that initrd has to be installed, too.
      Sorry for being too generic, but I don't use Redhat- just Mandrake 9.1 and Debian Sarge, and had no such problems with either of them.
      The revolution cannot be a lever, or an essay, or tablaeu, or embroidery. It cannot proceed mellowly, piece-by-piece, gently, devoutly, simply and humbly.
      Mao Zedong

    15. #15
      Join Date
      Sep 2001
      Location
      Austria
      Posts
      2,600
      scarecrow, initrd is not a futile part of a linux system.
      It is used on all kind of systems, for a SCSI system they are even a MUST have.
      On all installations of RedHat I have seen it been using initrd to load the ext3 drivers, SuSE does basically the same ...
      So this is just a necessary and not something you could turn of
      Life plays with us, like the wind with the leaf
      Success: It is not the position you stand, but the direction in which you look.


    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    Powered by vBulletin™ Version 4.0.3 Copyright © 2012 vBulletin Solutions, Inc. All rights