• Welcome to Free PC Help, a free PC Help forum to get help with your computer problems.

    Free PC Help is a community that offers free computer help and support for all users, all ages, worldwide.

    In order to start asking questions or contribute on someone else's post you will first need to register. Don't worry - it's quick and easy and once you have registered you will have instant access to the entire forum.

    If you do decide to join the forums you will not have the option to send Private Messages [ PMs ] or add a Signature until you have made 5 posts or more. This is an attempt to try to stop Spammers using the PM system or adding links to their Signature.

grub rescue

Grinder

FPCH Member
Joined
Jan 29, 2021
Location
North Wales
PC Experience
Some Experience
Hi to all,
I have an elderly Xp machine on which I added a Lexus? Operating system. Last week I decided that I no longer wanted it so I simply deleted all the files on its partition!!
Needless to say I am now unable to start the machine, getting an error message “error: no such partition”
I have looked on u tube and tried to resolve the problem without success. I follow the directions (in dos) but get stuck part way through. If anyone can assist me I could give more specific details.
Hoping for some help......grinder
 

KenB

Administrator
Joined
Oct 19, 2008
Location
Wirral UK
PC Experience
Very Experienced
Hi and welcome to FpcH

Is Windows XP still on the system?

Do you have anything on the hard disk that you need to recover ?

No doubt I will have more questions for you.
 

Grinder

FPCH Member
Joined
Jan 29, 2021
Location
North Wales
PC Experience
Some Experience
Hi and welcome to FpcH

Is Windows XP still on the system?

Do you have anything on the hard disk that you need to recover ?


No doubt I will have more questions for you.
thanks for offer of help.
Yes it WAS a dual operation machine and yes I need to access lots of material held on it..
I get as far as “ls” /enter
this then shows
“Error:unknown file system”
I tried various other variations but I am not dos fluent so no luck.
 

KenB

Administrator
Joined
Oct 19, 2008
Location
Wirral UK
PC Experience
Very Experienced
Yes it WAS a dual operation machine and yes I need to access lots of material held on it..
You should be able to access the data on the disk if you can take the hard drive out of the machine.
[some are easier than others]

Connect the hard drive up to a 2.5 inch enclosure [ 3.5 inch for desktop machine ]
click here for example
Once inserted treat as a memory stick and locate the files you want to extract.
You will need access to another machine with a USB port.

Let me know how you get on.

What is the make and model number of your machine please?

Can you access a command prompt ?
[ you mentioned DOS earlier ]
 
Last edited:

Grinder

FPCH Member
Joined
Jan 29, 2021
Location
North Wales
PC Experience
Some Experience
You should be able to access the data on the disk if you can take the hard drive out of the machine.
[some are easier than others]

Connect the hard drive up to a 2.5 inch enclosure [ 3.5 inch for desktop machine ]
click here for example
Once inserted treat as a memory stick and locate the files you want to extract.
You will need access to another machine with a USB port.

Let me know how you get on.

What is the make and model number of your machine please?

Can you access a command prompt ?
[ you mentioned DOS earlier ]
KenB,
Yes I have an enclosure so I could access the files that way, but I would much prefer to have the machine running as it should.
I will look into whether or not I can access a command prompt and let you know later on today.
Many thanks, Grinder
 

Grinder

FPCH Member
Joined
Jan 29, 2021
Location
North Wales
PC Experience
Some Experience
KenB,
Yes I have an enclosure so I could access the files that way, but I would much prefer to have the machine running as it should.
I will look into whether or not I can access a command prompt and let you know later on today.
Many thanks, Grinder
Hi KenB
Could not find any way to access command window, so I persevered with u tube presentation. Have attached screen shot of how far I got, the next line after “normal”. should have taken me to a Ubuntu screen but it didn’t happen.
 

Grinder

FPCH Member
Joined
Jan 29, 2021
Location
North Wales
PC Experience
Some Experience
Hi KenB
Could not find any way to access command window, so I persevered with u tube presentation. Have attached screen shot of how far I got, the next line after “normal”. should have taken me to a Ubuntu screen but it didn’t happen.
Forgot to add the attachment!
 

Attachments

KenB

Administrator
Joined
Oct 19, 2008
Location
Wirral UK
PC Experience
Very Experienced
Hi,
I have an elderly Xp machine on which I added a Lexus?
From your image [ last post ] I think you have [had] Linux installed.
You removed the Linux files from the partition.
Your machine - when you switch on - looks at a small file [ Bootloader ] which tells it what to boot up and where to look.

Grub = GRand Unified Bootloader.

As you have removed the Linux files from its partition when the Bootloader is accessed it looks for the Linux OS and can't find it.

I think you will need to rebuild the Bootini file.


If you have Windows XP: AND have the installation CD

  1. Insert the Windows XP CD in the optical drive
  2. Reboot the computer
  3. At the Microsoft Setup menu, press R
  4. Select the operating system
  5. Enter the Administrator password
  6. When Command Prompt appears, you can type the bootcfg command: - bootcfg /rebuild [ there is a space after bootcfg ]
  7. Press Enter
  8. Once completed, type exit to reboot the computer
  9. Press Enter
 

Grinder

FPCH Member
Joined
Jan 29, 2021
Location
North Wales
PC Experience
Some Experience
Hi,


From your image [ last post ] I think you have [had] Linux installed.
You removed the Linux files from the partition.
Your machine - when you switch on - looks at a small file [ Bootloader ] which tells it what to boot up and where to look.

Grub = GRand Unified Bootloader.

As you have removed the Linux files from its partition when the Bootloader is accessed it looks for the Linux OS and can't find it.

I think you will need to rebuild the Bootini file.


If you have Windows XP: AND have the installation CD

  1. Insert the Windows XP CD in the optical drive
  2. Reboot the computer
  3. At the Microsoft Setup menu, press R
  4. Select the operating system
  5. Enter the Administrator password
  6. When Command Prompt appears, you can type the bootcfg command: - bootcfg /rebuild [ there is a space after bootcfg ]
  7. Press Enter
  8. Once completed, type exit to reboot the computer
  9. Press Enter
No luck!!
Tried the above, I wasn’t sure which drive was the correct one so tried both with same result, straight to Error: no such partition.
 

KenB

Administrator
Joined
Oct 19, 2008
Location
Wirral UK
PC Experience
Very Experienced
Hi
Sorry - I shoud have replied to your other post.

You can reset the Bios to defaults by removing the CMOS battery for a couple of minutes and replace.

This could be worth a try whilst you wait for the new battery.

Don't forget to unplug from the mains.

I don't think that re-setting the BIOS or inserting a new CMOS battery will solve the Bootloader problem.
The Bootloader is held on a section of the hard disk and the BIOS is held on a programable chip on the motherboard.

Yes I have an enclosure so I could access the files that way
I suggest that you put the hard disk in the enclosure and see if you can save any of your files.

You can then put the hard disk back in the machine and we can see if we can sort out the booting problem without worrying too much
about your files.

Worst case - we can re-install Windows XP as you will have all the data from the drive - [ assuming it is accessible ]
 
Last edited:

Grinder

FPCH Member
Joined
Jan 29, 2021
Location
North Wales
PC Experience
Some Experience
Hi
Sorry - I shoud have replied to your other post.

You can reset the Bios to defaults by removing the CMOS battery for a couple of minutes and replace.

This could be worth a try whilst you wait for the new battery.

Don't forget to unplug from the mains.

I don't think that re-setting the BIOS or inserting a new CMOS battery will solve the Bootloader problem.
The Bootloader is held on a section of the hard disk and the BIOS is held on a programable chip on the motherboard.


I suggest that you put the hard disk in the enclosure and see if you can save any of your files.

You can then put the hard disk back in the machine and we can see if we can sort out the booting problem without worrying too much
about your files.

Worst case - we can re-install Windows XP as you will have all the data from the drive - [ assuming it is accessible ]
Hi again,
New battery fitted but still no joy. Drives are still not recognised so unable to use installation disc.
 

KenB

Administrator
Joined
Oct 19, 2008
Location
Wirral UK
PC Experience
Very Experienced
Have you been able to access the drive via an enclosure?
If you haven't tried this yet I suggest you do and try to retrieve your files and data.

Can you access the BIOS ?
When you switch on - almost straight away it will say "Press X to Enter SetUp" bottom left of screen.
This could be F1 -F2 - DEL - ESC
You have to be quite quick.

Once in the BIOS [ there are different versions ] look for "Boot Order" or similar.
You can make the CD ROM the firsi in the order by moving it up.
Usually it will say how on the right of screen.
Once moved up the order Save and Exit - usually F10.

Do not attempt to re-install XP if you haven't got your data off the drive.
 

Grinder

FPCH Member
Joined
Jan 29, 2021
Location
North Wales
PC Experience
Some Experience
Have you been able to access the drive via an enclosure?
If you haven't tried this yet I suggest you do and try to retrieve your files and data.

Can you access the BIOS ?
When you switch on - almost straight away it will say "Press X to Enter SetUp" bottom left of screen.
This could be F1 -F2 - DEL - ESC
You have to be quite quick.

Once in the BIOS [ there are different versions ] look for "Boot Order" or similar.
You can make the CD ROM the firsi in the order by moving it up.
Usually it will say how on the right of screen.
Once moved up the order Save and Exit - usually F10.

Do not attempt to re-install XP if you haven't got your data off the drive.
I can get into the bios and have tried moving the boot order of the cd drives to no avail
. I will try and boot up from an enclosure possibly tomorrow and will keep you posted.
 

KenB

Administrator
Joined
Oct 19, 2008
Location
Wirral UK
PC Experience
Very Experienced
I can get into the bios and have tried moving the boot order of the cd drives to no avail
What was the problem?
 

KenB

Administrator
Joined
Oct 19, 2008
Location
Wirral UK
PC Experience
Very Experienced
Hi,
got as far as insert “recovery disc”
You have the installation disk - you don't need the recovery disk.

I still think that you should recover any data before you start trying to get the drive to boot again.

You said you had difficulty changing the Boot Order.
Take a look here - click here

You will need to enter the Windows Recovery Console - click here

You then need to Rebuild the Boot.ini - click here
 

Grinder

FPCH Member
Joined
Jan 29, 2021
Location
North Wales
PC Experience
Some Experience
Hi,

You have the installation disk - you don't need the recovery disk.

I still think that you should recover any data before you start trying to get the drive to boot again.

You said you had difficulty changing the Boot Order.
Take a look here - click here
You will need to enter the Windows Recovery Console - click here

You then need to Rebuild the Boot.ini - click here
Hi,
After reading your latest missive I came to the attached screenshot ( a photo not a proper screenshot ) and had to halt again.
I have changed the hard drive to a spare which I had.
This drive has some data on it which I don’t need to save.
 
Top Bottom