boot drive not mounted

greetings… well heres the predicament i find myself in…

i bought an external usb harddrive, which i needed to format, so i did it using gparted and my laptop (which is running suse 11)… the drive formatted properly but now my laptop wont boot and i get some type of command line that is in red and says (repair filesystem) – im at a loss as to what commands to give in order to repair system… can anyone share any ideas? thanks in advance… albee

Is this external drive your boot device? It appears that’s what you are saying, but you just formatted it!?

no it is not my boot drive… it was formatted in ntfs and my laptop wouldnt recognize it, so i formatted it to fat using gparted… i only wanted the usb drive for backup… i think that when i used gparted it umounted my boot drive…

Tell me a couple of things:

  1. Do you have a live cd
  2. Do you have a install DVD

Could you boot a live cd and get

fdisk -l

i do not have a live or an install cd but can get either one… which would work best?

and yes i will be able to boot from disk…

Get Parted Magic Downloads
Burn it
When I boot it, I always use the Failsafe Option, then at the Prompt type: menu
then choose xvesa

Open the Partitioner and do a screen shot
and or open the terminal and do: fdisk -l

oh i thought you meant a live or install cd for suse 11.0 – i have the cd for gparted… will it work or should i get the one you linked me to?

I’m not sure if it has all the feature of PM. PM is basically a live distro.

ok… im in failsafe mode for gparted and opened a term sess and typed fdisk-l… its showing that /dev/hda2 is my boot when it should be hda5… how do i change that?

Hang on a mo
I need to see fdisk -l

you can copy the text out of the term, you should have internet in there too
{edit} sorry you’re not in PMagic are you

no, im in gparted… and im not sure how to copy and send from there… i can type output for you if thatll help…

Slow down. I really would recommend Parted Magic. But if you want to try typing - fine. But don’t miss any characters like *

If you can offer any explanation as far as you know - great

sorry if i seem in a hurry… im just eager to get this problem fixed… and i greatly appreciate your help… i am downloading pm now and will get into term sess and post back… thanks again…

In there the terminal is roxterm
No need for su either, it’s already root

ok im in the term sess of pmagic and did fdisk -l… whats the next step?

i remember you saying i need to show a copy of the output… how do i do that?

Use your mouse to highlight it and then right click copy

Open a browser and login to the forum and paste it here

I have another suggestion

Did you try supergrubdisk - it will often boot a system
Super Grub Disk Homepage - Download CDROM

no i didnt try supergrub - had no idea it existed… i will try that if this doesnt work… here is the output…

root@PartedMagic:~# fdisk -l

Disk /dev/hda: 100.0 GB, 100030242816 bytes
255 heads, 63 sectors/track, 12161 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x14cb14cb

Device Boot Start End Blocks Id System
/dev/hda1 1 1437 11534670 83 Linux
/dev/hda2 * 1438 12161 86140530 f W95 Ext’d (LBA)
/dev/hda5 1438 1699 2104483+ 82 Linux swap
/dev/hda6 1700 4310 20972826 83 Linux
/dev/hda7 4311 12161 63063126 83 Linux

Please follow this. Remember this is a sample, and you need to place your values in place of the examples:

In the terminal do this:

You enter this ---------------- grub Computer returns like this ---- grub> 
You enter this ---------------- find /boot/grub/menu.lst 
Computer returns like this ---- (hd0,5) 
Here, (hd0,5) is Grub's pointer to my openSUSE installation. Your pointer will be different from my example (hd0,5). Substitute your values for my example (hd0,5). Now that you have the pointer, proceed like this: 
You enter this ---------------- root (hd0,5) 
Computer returns like this ---- Filesystem type is ext2fs, partition type 0x83 
You enter this ---------------- setup (hd0) 
You see several lines like this --- Checking if /boot/grub/stage1 exists ... yes Computer finally returns this-- Succeeded.......Done 
You enter this ---------------- quit 
You enter this ---------------- reboot 

Now reboot and see if it works

from here
http://en.opensuse.org/All_About_Grub#More_About_Grub_Installation_-_Advanced_Users