Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 15
Hello everyone, There are 2 OS on my box: One is WinXP and another is OEL5.0. Because of a mistake, I made the partition of OEL system a new logical ...
  1. #1
    Just Joined!
    Join Date
    Jul 2009
    Posts
    7

    can not mount and reinstall the Linux OS

    Hello everyone,

    There are 2 OS on my box: One is WinXP and another is OEL5.0. Because of a mistake, I made the partition of OEL system a new logical driver using Windows' Storage Management Tool. After that, I could not start the system normally any more.
    After press the start button, only Grub> Command-line prompt is displayed. After input the following command, I can get into the WinXP system:
    -------------------------------------------------------------------------
    rootnoverify (hd0,0)
    chainloader +1
    boot

    --------------------------------------------------------------------------
    But I cannot open and reinstall the OEL5.0 Linux system any more.
    I put the Linux ISO file and its kernel file in the first partition and issue the following command:
    ----------------------------------------------------------------------
    kernel (hd0,0)/isolinux/vmlinuz

    error 17: cannot mount selected partition.
    -------------------------------------------------------------------

    How can I reinstall the Linux system and make grub loader work normally?

    Thank you

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Hi and Welcome !

    New Partition has changed device names assigned to Linux partitions. You have to edit /etc/fstab and /boot/grub/menu.lst files.

    Boot up from LiveCD of any Linux distro and post the output of fdisk -l command here. Post the contents of /boot/grub/menu.lst or grub.conf and /etc/fstab files here.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined!
    Join Date
    Jul 2009
    Posts
    7

    But I don't have any LiveCD

    Thank you for reply.
    But I don't have any LiveCD. I installed the OS from hard disk.

  4. #4
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    1,942
    You could download and burn Puppy Linux or Damn Small Linux, 50-80MB download and use either to get the information suggested by Devils Casper.

  5. #5
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    2,941
    Quote Originally Posted by jetq View Post
    kernel (hd0,0)/isolinux/vmlinuz

    error 17: cannot mount selected partition.
    -------------------------------------------------------------------
    If you type
    Code:
    find /isolinux/vmlinuz
    at grub prompt do you get partition information? Not sure if this will help without edit of fstab ... which I'd do with a live CD.

  6. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    find command will work fine but you have to edit /etc/fstab file to boot up distro.
    There are a lot of distros available in 30MB-60MB download range. Download any and post contents of files/commands as suggested earlier.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  7. #7
    Just Joined!
    Join Date
    Jul 2009
    Posts
    7
    Quote Originally Posted by jetq View Post
    Hello everyone,

    There are 2 OS on my box: One is WinXP and another is OEL5.0. Because of a mistake, I made the partition of OEL system a new logical driver using Windows' Storage Management Tool. After that, I could not start the system normally any more.
    After press the start button, only Grub> Command-line prompt is displayed. After input the following command, I can get into the WinXP system:
    -------------------------------------------------------------------------
    rootnoverify (hd0,0)
    chainloader +1
    boot

    --------------------------------------------------------------------------
    But I cannot open and reinstall the OEL5.0 Linux system any more.
    I put the Linux ISO file and its kernel file in the first partition and issue the following command:
    ----------------------------------------------------------------------
    kernel (hd0,0)/isolinux/vmlinuz

    error 17: cannot mount selected partition.
    -------------------------------------------------------------------

    How can I reinstall the Linux system and make grub loader work normally?

    Thank you
    Now the bigest problem is it cannot start from CD-ROM and ca nnot get into BIOS. My desktop is a HP Workstation xw4200. When starting, if choose F9, it get into the BOOT ORDER menu, and if I choose boot from CD_ROM, it not start CD_ROM. instead, it shows the Grub> prompt. If I choose to press the F10, it get into HP setup menu. But it cannot change the boot order.

    I try the following steps:
    1. I make a DamnSmall Linux CD. But the problem is any disks can not be started in CD-ROM. Windows recovery disk can not start either. The only thing I can do is under the Grub> command prompt, input the following command and get into Windows:
    --------------------------------------------------------------------
    rootnoverify (hd0,0)
    chainloader +1
    boot

    2. I download a GRDLR software and unzip it in C:\,then I modify the file boot.ini and append it with the content C:\GRDLR="GRUB". But it show that this step do nothing.
    3. Grub> find /boot/grun/stage1

    ----------------------------------------------------------------
    Erro 17: file can not be found.
    Grub> find /isolinux/vmlinuz
    Erro 17: file can not be found.
    Grub> setup (hd0)
    Can not mount the partition
    Please use the OS utility of BOOTLACE.com to install GRLDR boot record to MBR or to the area of a specified partition.

  8. #8
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Boot up Windows OS and remove GRUB using SuperGRUB. Follow instructions from here.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  9. #9
    Linux User
    Join Date
    Dec 2007
    Location
    Idaho USA
    Posts
    351
    rootnoverify (hd0,0)
    chainloader +1
    boot
    You say that will boot into XP, so linux can not be the first partition of hd, XP is except for your added Linux ISO file.

    From the Grub> Command-line prompt use the auto complete function. type in 'root (hd0, ' and press "tab", it will list all partitions and there type. Then type in what ever is needed for OEL5.0 booting to the correct partition.

    put the Linux ISO file and its kernel file in the first partition and issue the following command:
    If you put it into the XP partition, then I would think you will have to use a third party program for XP to install the ISO file, there is one 'I think' but do not know its name. Is XP on a NTFS or FAT32 partition ?

    If you can not use linux to post the hdd partitions then use XP's disk management.

    I download a GRDLR software
    Can you post a web site so we can read its How-to-use. 'I'm on slow dial up and do not wish to do a search'

  10. #10
    Just Joined!
    Join Date
    Jul 2009
    Posts
    7
    Can you post a web site so we can read its How-to-use. 'I'm on slow dial up and do not wish to do a search'

    How to post a web site? please show me.
    Thank you

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...