Page 4 of 19 FirstFirst ... 2345614 ... LastLast
Results 31 to 40 of 182

Thread: GRUB Problem

  1. #31

    Default Re: GRUB Problem

    Quote Originally Posted by SeanMc98 View Post
    If the "Windows Recovery Console" is installed in your Windows partition, this might help. (I have a similar configuration as OP). The VAIO Recovery is (most likely) the Windows Recovery Console. This is inserted into the Windows boot ahead of the actual Windows "ntldr".
    Sorry, I already tried to reply to this and it got messed up...

    Anyway...

    The VAIO Recovery routine is a 4 step process... mine is doing just fine until it reboots the system and should go to screen/step 3. So, the place where I'm supposed to be able to do a "R" (Repair) never comes up because GRUB is snatching it away from the VAIO Recovery reboot, see?

    I think Grub needs to be uninstalled and forget about it, and just let me do an "F10" at the Sony Logo Screen during the BIOS bypass... then at least GRUB *won't* be stopping Sony Recovery from ever getting to Step 3 and Step 4. See?

    Now, what is the 'code' in grub to uninstall GRUB?
    Last edited by oldsioux; 17-May-2010 at 14:52. Reason: change 'to' to 'do' & ask how to uninstall grub.

  2. #32
    Join Date
    Feb 2010
    Location
    Upstate New York, USA
    Posts
    480

    Default Re: GRUB Problem

    And then what do I key in to make it restart the boot process...?... 'reboot', maybe?
    After removing "boot" from GRUB, the Windows selection should present the Windows Boot menu (aka "boot.ini" (q.v.)). Yours specifies
    Code:
    Timeout=30
    You can a) wait 30 seconds or b) hit "Enter" or any key except "ESC" and Windows should boot normally. If you have the Windows Recovery Console, you normally have to move the cursor to that entry.

    From the Windows Boot menu, all Windows boot options should be available, such as Windows Safe Mode, Command Prompt, etc.

    As for the 30 seconds, that is your choice. I use "Timeout=2" (I am not sure whether Redmond ever corrected the "Timeout=0" value.
    Lap: Gateway NV79, i5-430, 4GB, 2 x 500GB HD, Intel GMA HD
    openSUSE Leap 15.0 x64 + 42.3 x64, KDE 5.15.3, Ubuntu 16.04 LTS, Windows 7

    Test:: openSUSE 15.0, KDE Plasma, Windows/XP/SP3 guest.

  3. #33

    Default Re: GRUB Problem

    During my slumbers in Oz events seemed to have taken a new turn and I am a little confused about what is working and what is still a problem. Could we just recap on where things got to after my last post #24?

    1) Did you manage to boot into Windows XP from the grub> prompt and was the correct partition number '3' in boot.ini?

    2) Did you then try and change the boot flag to the Windows XP partition from the Linux partition to bypass grub?

    3) A comment on your various attempts at booting various CDs:

    3a) Windows 95 was never a bootable CD since it came out just before the adoption of the El Torito standard. For that OS, you had to have an embryonic DOS system installed before hand and, using that, you generated 2 or more installation floppies from a program on the CD.

    3b) Windows 98SE is bootable but could eventually give you a DOS command prompt under certain circumstances. Did you try typing the 'dir' command at the flashing cursor.

    4) The grub 'boot' command is only required when you use grub interactively. When you boot via a menu.lst it should attempt to boot the selected item automatically. I will recheck that however.

    5) When you talk about making a bootable CD from the Compaq for the laptop, what do you mean? There is a method of booting a recalcitrant Windows 2000/XP partition from a floppy containing ntldr, ntdetect.com and boot.ini. Did you mean that?

    So can you give a brief update to questions 1) and 2) if you would?

    Thanks.

  4. #34

    Default Re: GRUB Problem

    Quote Originally Posted by plodder View Post
    During my slumbers in Oz events seemed to have taken a new turn and I am a little confused about what is working and what is still a problem. Could we just recap on where things got to after my last post #24?

    1) Did you manage to boot into Windows XP from the grub> prompt and was the correct partition number '3' in boot.ini?
    NO, and I'm still not sure.

    Just so I can keep track of where things are, here are the grub and fdisk findings:

    grub> root (hd0,
    Possible partitions are:
    Partition num: 0, Filesystem type unknown, partition type 0x12
    Partition num: 2, Filesystem type unknown, partition type 0x82
    Partition num: 4, Filesystem type unknown, partition type 0x7
    Partition num: 5, Filesystem type unknown, partition type 0x83

    I have no idea what happened to Partition num: 1, or 3, nor do I know how to
    find them *if* they are even in there somewhere and merely playing "Hide 'N
    Seek".

    Here's fdisk -l

    linux:/home/linux # fdisk -l

    Disk /dev/sda: 120.0 GB, 120034123776 bytes
    255 heads, 63 sectors/track, 14593 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0xf9b5d149

    Device Boot Start End Blocks Id System
    /dev/sda1 1 784 6297448+ 12 Compaq diagnostics
    /dev/sda2 * 785 14401 109378552+ f W95 Ext'd (LBA)
    /dev/sda3 14402 14593 1542240 82 Linux swap / Solaris
    /dev/sda5 785 3395 20972826 7 HPFS/NTFS
    /dev/sda6 3396 14401 88405663+ 83 Linux
    linux:/home/linux #

    I'm not sure if I'm entering the stuff at the grub> prompt like I should be, so here is how it looks after I enter the things you've told me:

    grub> rootnoverify (hd0,2)

    grub> chainloader +1

    And at that point nothing else will happen unless I enter:

    grub> boot

    Should I be opening some type of file, or config file with grub and entering all those lines inside the file...?... and then save it some way?

    2) Did you then try and change the boot flag to the Windows XP partition from the Linux partition to bypass grub?
    Nope. Never got that far. :sigh:


    3) A comment on your various attempts at booting various CDs:

    3a) Windows 95 was never a bootable CD since it came out just before the adoption of the El Torito standard. For that OS, you had to have an embryonic DOS system installed before hand and, using that, you generated 2 or more installation floppies from a program on the CD.
    Oh, yes... that was ages ago and I'd forgotten... Win95 had/has some 'setup' file or whatever that I had to run from Win for Workgroups 3.11. Then it would do a very lengthy installation routine.

    3b) Windows 98SE is bootable but could eventually give you a DOS command prompt under certain circumstances. Did you try typing the 'dir' command at the flashing cursor.
    I just rebooted so that grub> would appear if the Win98 failed... at the flashing cursor I typed in 'dir' and of course it went straight to grub>. :sigh:

    4) The grub 'boot' command is only required when you use grub interactively. When you boot via a menu.lst it should attempt to boot the selected item automatically. I will recheck that however.
    'menu.lst'...?... I have yet to find that with any of my attempts at the grub> prompt. How does one open that file and make any changes?

    5) When you talk about making a bootable CD from the Compaq for the laptop, what do you mean? There is a method of booting a recalcitrant Windows 2000/XP partition from a floppy containing ntldr, ntdetect.com and boot.ini. Did you mean that?
    Er, um... I spent most of the day trying to follow the instructions from several places on how to copy all the files from the volume on the laptop of all the Windows files including the /i386 folder that *are* IN the C drive... and put all these files in a subdirectory named 'home/Documents/XPSetup'

    I'm not explaining this very well, sorry...

    Forget about the Compaq computer... I booted up the laptop with the KDE Live CD and then used Dolphin to copy the required files from the obviously correct "Volume" into a subfolder under KDE Live's /home/sylky/Documents/XPSetup/' which then I used K3b to make a bootable CD from files *already* on the laptop. Does that make any sense.

    I wish I knew this stuff better so I could explain it more concisely. :sigh:

    Regardless, all my efforts to make a bootable CD failed. Grub just simply *won't* let any other CD boot the system but the KDE Live CD. :sigh:

  5. #35

    Default Re: GRUB Problem

    OK just to go through this.

    A)
    I have no idea what happened to Partition num: 1, or 3, nor do I know how to
    find them *if* they are even in there somewhere and merely playing "Hide 'N
    Seek".
    I covered that in my, what is now, post #19. Grub counts partitions from 0 and fdisk counts from 1. If you add 1 to all the grub partition numbers, partitions 1 and 3 are there.

    B) You say you are entering:

    grub> rootnoverify (hd0,2)
    Are you sure you don't mean:

    grub> rootnoverify (hd0,4)
    which is what we were using last time?

    C) How did you try editing the 'boot.ini' file?

    Can somebody come up with a better method than this?

    What you should be doing is, from the openSUSE CD,

    1) Run the Live CD option. Alternatively run a PartedMagic CD if you have that.

    2) When the Live version of openSUSE eventually boots up and presents you with a welcome screen:

    3) Run Dolphin File Manager (the Superuser version might be best) and click on the entry, in the list of volumes that can be mounted, that applies to Windows XP (may be listed as NTFS). You may have two options one for the recovery partition and one for the actual XP partition. Make sure you get the correct one.

    4) The XP partition will probably be mounted at /media/sda5 (guessing here - will try and simulate this situation later if required) but Dolphin will probably take you to that when you mount the partition.

    5) Browse to /media/sda5 (if not already there) and see if you can spot 'boot.ini'. Click on it to open. View the contents and tell us what the number of the partition is in on the boot line(s).

    6) Editing the boot.ini file can be carried out with kwrite. I think you have to run this separately and get it to load the file from the File menu. Anyway, open /media/sda5/boot.ini and change the partition number to (I think) 3. Then save the 'boot.ini' file. What may go wrong here is that Windows XP partition is mounted read only and it will not allow you to save boot.ini. Tell us if that is the case.

    7) Close kwrite and try rebooting the system without the CD. If it doesn't work try 4 then 5 and maybe 2 in the partition number.

    Any questions? It seems a bit of a mouthful but what you are doing is relatively simple. When we know it has a good chance of booting into XP successfully we can change the boot flag via a later post.

    Good luck.

  6. #36

    Default Re: GRUB Problem

    Quote Originally Posted by plodder View Post
    OK just to go through this.

    A)

    I covered that in my, what is now, post #19. Grub counts partitions from 0 and fdisk counts from 1. If you add 1 to all the grub partition numbers, partitions 1 and 3 are there.
    oldsioux: yes. I remember you telling me that...

    B) You say you are entering:

    grub> rootnoverify (hd0,2)

    Are you sure you don't mean:

    grub> rootnoverify (hd0,4)
    oldsioux: unless I need to add 1 to that "4" and come up with "5", "4" is the Sony VAIO Recovery partition/drive.
    If we boot up in it, it will only do the same thing it does when I do an F10 at system logo on bootup: it starts the Recovery routine, which is a 4 step process that only gets through the first 2 steps... when it finishes installing the recovered files, it does a reboot that only gives grub> the opportunity to override things and the VAIO System Recovery never gets a chance to go to Step 3, or Step 4. See?
    This is why I think we need to delete GRUB from the whole works and simply let me redo the F10 on bootup to allow VAIO Recovery to complete all *4* of the steps it should... then when it gets to the 3rd or 4th step it is supposed to give you a choice of "R" (Repair) to repair the mbr, among other things. See?

    which is what we were using last time?


    C) How did you try editing the 'boot.ini' file?

    Can somebody come up with a better method than this?

    What you should be doing is, from the openSUSE CD,

    1) Run the Live CD option. Alternatively run a PartedMagic CD if you have that.
    I can only get PartedMagic downloaded to the this computer because the 'problem laptop' won't connect to the Internet... I thought about trying to download PartedMagic to an SD card, and *then* get it into the laptop... but...

    2) When the Live version of openSUSE eventually boots up and presents you with a welcome screen:

    3) Run Dolphin File Manager (the Superuser version might be best) and click on the entry, in the list of volumes that can be mounted, that applies to Windows XP (may be listed as NTFS). You may have two options one for the recovery partition and one for the actual XP partition. Make sure you get the correct one.

    4) The XP partition will probably be mounted at /media/sda5 (guessing here - will try and simulate this situation later if required) but Dolphin will probably take you to that when you mount the partition.
    In the lefthand column of Dolphin under "Places", there are three "Volumes" listed. 2 of them are 'ntfs' the 3rd is 'ext4'. Under /media/ there is NOTHING! Yeah, I know... there are NO listing under /root/media/ ... empty folder. I think it is because the "Volumes" are getting treated as if they are external drives listed as 'folders' under the left hand column.

    5) Browse to /media/sda5 (if not already there) and see if you can spot 'boot.ini'. Click on it to open. View the contents and tell us what the number of the partition is in on the boot line(s).
    Thanks to "My Computer" plasmoid, I have determined that the necessary partition *IS* /media/sda5... BUT, it is NOT showing up in the /media/ folder. It is only showing up as a folder in the Places column in Dolphin. :sigh:

    [qoute]
    6) Editing the boot.ini file can be carried out with kwrite. I think you have to run this separately and get it to load the file from the File menu. Anyway, open /media/sda5/boot.ini and change the partition number to (I think) 3. Then save the 'boot.ini' file. What may go wrong here is that Windows XP partition is mounted read only and it will not allow you to save boot.ini. Tell us if that is the case.[/quote]

    Apparently this 'folder' is assigned to my user name... superuser Dolphin can't open boot.ini. Regular Dolphin can, though.

    7) Close kwrite and try rebooting the system without the CD. If it doesn't work try 4 then 5 and maybe 2 in the partition number.
    I've tried everything from "0" to "7" and still all I get is grub>

    {quote]
    Any questions? It seems a bit of a mouthful but what you are doing is relatively simple. When we know it has a good chance of booting into XP successfully we can change the boot flag via a later post.

    Good luck.[/QUOTE]

    Of course, in Yast, BootLoader gives an error:

    "Because of the partitioning, the boot loader cannot be installed property."

    I still think we need to get GRUB *completely* out of the machine and do the F10 System Restore... without grub taking over at any reboot attempt, VAIO Recovery will probably work just fine.

  7. #37

    Default Re: GRUB Problem

    OK I will make one last attempt to explain this.

    For the moment you will always get the grub prompt. Changing the boot.ini file doesn't change that part. Removing or bypassing grub can be done by changing the boot flag so that it boots the Win XP partition directly.

    Unfortunately the Win XP partition says what boots next is whatever partition is defined in boot.ini. This appears to point to the recovery partition which is why when you do

    rootnoverify (hd0,4)
    (which is really /dev/sda5 as per fdisk -l) etc, you end up in 'recovery'. That may be why you are now convinced (hd0,4) is the recovery partition - which it isn't. The recovery partition is the place you currently end up in with the current definition of boot.ini in the Windows XP partition.

    The resolution to your problem can be done in two stages:

    1) Edit the boot.ini file in the Windows XP partition to change the partition to the Windows XP partition itself. You will still get the grub prompt (temporarily) and have to do 'rootnoverify etc'. However, when we know this stage of the process has been sorted out we can then:

    2) Just change the boot flag so that grub is bypassed completely. You then boot straight into Windows XP as on a normal Windows computer.

    Does that make sense?

  8. #38

    Default Re: GRUB Problem

    A further comment on your last post:

    Thanks to "My Computer" plasmoid, I have determined that the necessary partition *IS* /media/sda5... BUT, it is NOT showing up in the /media/ folder. It is only showing up as a folder in the Places column in Dolphin. :sigh:
    You have to click on the 'folder' in the places column. It will then attempt to mount it. If not try right clicking on the folder to get an options menu which will allow you to mount. I am surprised that the super user Dolphin does not allow you to do that.

    More later maybe. Time for tea.

  9. #39
    Join Date
    Dec 2008
    Location
    Idaho
    Posts
    204

    Default Re: GRUB Problem

    Just change the boot flag so that grub is bypassed completely. You then boot straight into Windows XP as on a normal Windows computer.
    Will not work, if grub is installed in the MBR ,very likely, then you must use grub and the boot flags are not used. If it has a standard MBR, and grub was installed in the 'W95 Ext'd' 'it is set bootable' , still will not work as a standard MBR will not boot into a logical volume.

    As I stated in prior post, you can NOT do a install be it a clean or repair. MS windows must have a primary partition to install the boot files to 'fat or NTFS'. XP will boot from a logical volume as you have but boot.ini file must be correct. Post your current boot.ini or change it to the one in prior post.

    Best would be convert sda5 to sda4 using 'testdisk'.
    http://www.cgsecurity.org/index.html?testdisk.html
    It may be in the suse install or on many live cd's.

  10. #40

    Default Re: GRUB Problem

    LostFarmer: I had began to come to much the same conclusion as yourself about the boot files needing to be on a primary partition (the system partition) although the rest of the OS (boot partition?) could be on a logical partition. That is what the MCSE book says for Win 2K.

    So when you mention your prior post, in that you have the boot.ini file pointing to partition 3, which one is that?

    I had begun to think maybe the Compaq Diagnostics partition /dev/sda1 might be the one you had to boot from, if that had a FAT32 or NTFS file system. I couldn't understand the boot flag on the Extended partition either.

    Maybe I can leave it in your hands? I will watch on with interest.

    Thanks Plodder.

Page 4 of 19 FirstFirst ... 2345614 ... 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
  •