RE: HELP: GRUB or Part. Table damaged by QTPARTED!!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Michael,

I collected everything you asked for to be able to help me, so I send it
here and I'm very happy that you are willing to support me.

Having said that, please give the instructions as detailed as possible: to
illustrate my newbie-level: it took me some hours, trying and rebooting to
XP (machine only) to search the web to find out how to use a floppy to place
the requested file on. The mount command I already knew, but really writing
to a flop...!
	booting from FC Rescue:
*		mkdir /mnt/floppy
*		mount -t msdos /dev/fd0 /mnt/floppy
*		trying to write gave " "..is not a directory"
*		trying mount /mnt/floppy gave something like "no /etc/fstab"
*	After some time (hrs!) I found (just by reading a lot and more or
less intuitively) that I had simply to do:
*	chroot /mnt/sysimage	(whatever that me be and do)
*	mount -t msdos /dev/fd0 /mnt/floppy
*	And then I could simply cp <file> /mnt/floppy and it worked.

So my files are here: 

Grub.conf:

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,7)
#          kernel /vmlinuz-version ro root=/dev/hda9
#          initrd /initrd-version.img
#boot=/dev/hda8
default=1
timeout=10
splashimage=(hd0,7)/grub/splash.xpm.gz
title Fedora Core (2.6.8-1.521)
	root (hd0,7)
	kernel /vmlinuz-2.6.8-1.521 ro root=LABEL=/ rhgb quiet
	initrd /initrd-2.6.8-1.521.img
title Fedora Core (2.6.8-1.521smp)
	root (hd0,7)
	kernel /vmlinuz-2.6.8-1.521smp ro root=LABEL=/ rhgb quiet
	initrd /initrd-2.6.8-1.521smp.img
title Fedora Core (2.6.5-1.358smp)
	root (hd0,7)
	kernel /vmlinuz-2.6.5-1.358smp ro root=LABEL=/ rhgb quiet
	initrd /initrd-2.6.5-1.358smp.img
title Fedora Core-up (2.6.5-1.358)
	root (hd0,7)
	kernel /vmlinuz-2.6.5-1.358 ro root=LABEL=/ rhgb quiet
	initrd /initrd-2.6.5-1.358.img
title Other
	rootnoverify (hd0,1)
	chainloader +1

device.map:

# this device map was generated by anaconda
(fd0)     /dev/fd0
(hd0)     /dev/hda

fstab:
	
LABEL=/                 /                       ext3    defaults        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /dev/shm                tmpfs   defaults        0 0
none                    /proc                   proc    defaults        0 0
none                    /sys                    sysfs   defaults        0 0
/dev/hda10              swap                    swap    defaults        0 0
/dev/cdrom              /mnt/cdrom              udf,iso9660
noauto,owner,kudzu,ro 0 0
/dev/cdrom1             /mnt/cdrom1             udf,iso9660
noauto,owner,kudzu,ro 0 0
/dev/fd0                /mnt/floppy             auto    noauto,owner,kudzu 0
0
/dev/hda2		/mnt/windows		ntfs	auto
/dev/hda5		/mnt/windows		ntfs	auto
/dev/hda6		/mnt/windows		vfat	auto
/dev/hda7		/mnt/windows		vfat	auto

And the ouput of "parted /dev/had print"
As you can see, I installed a driver to read (and write??) NTFS-partitions
(my WinXP) from FC2.
                                                                          
Warning: Unable to determine if partitions are mounted via /proc/mounts or
/etc/mtab.  Make sure you don't attempt to resize or modify mounted file
systems.  (Even read-only mounted)

                                                                          
Ignore/Cancel? i
Disk geometry for /dev/hda: 0.000-152627.835 megabytes
Disk label type: msdos
Minor    Start       End     Type      Filesystem  Flags
1          0.031   1506.093  primary   fat16       boot
2       1506.094  11013.310  primary   ntfs        
3      11013.311 152625.344  extended              lba
5      11013.341  42358.886  logical   ntfs        
6      42358.917  42460.861  logical   ext3        
7      42460.893  52697.592  logical   ext3        
8      52697.624  54690.029  logical   linux-swap  
11     54690.060  85408.066  logical   fat32       lba
9     118824.552 149550.402  logical   fat32       
10    149550.434 152625.344  logical   fat32       

                                                                          
Information: Don't forget to update /etc/fstab, if necessary.

Extra (perhaps it helps and avoids extra mail exchanges), the output of
fdisk -l and fdisk -u -l

fdisk -l /dev/hda:


Disk /dev/hda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1         192     1542208+  12  Compaq diagnostics
/dev/hda2             193        1404     9735390    7  HPFS/NTFS
/dev/hda3            1405       19457   145010722+   f  W95 Ext'd (LBA)
/dev/hda5            1405        5400    32097838+   7  HPFS/NTFS
/dev/hda6            5401        5413      104391   83  Linux
/dev/hda7            5414        6718    10482381   83  Linux
/dev/hda8            6719        6972     2040223+  82  Linux swap
/dev/hda9           15149       19065    31463271    b  W95 FAT32
/dev/hda10          19066       19457     3148708+   b  W95 FAT32
/dev/hda11           6973       10888    31455238+   c  W95 FAT32 (LBA)

Partition table entries are not in disk order

Fdisk -u -l /dev/hda


Disk /dev/hda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *          63     3084479     1542208+  12  Compaq diagnostics
/dev/hda2         3084480    22555259     9735390    7  HPFS/NTFS
/dev/hda3        22555260   312576704   145010722+   f  W95 Ext'd (LBA)
/dev/hda5        22555323    86750999    32097838+   7  HPFS/NTFS
/dev/hda6        86751063    86959844      104391   83  Linux
/dev/hda7        86959908   107924669    10482381   83  Linux
/dev/hda8       107924733   112005179     2040223+  82  Linux swap
/dev/hda9       243352683   306279224    31463271    b  W95 FAT32
/dev/hda10      306279288   312576704     3148708+   b  W95 FAT32
/dev/hda11      112005243   174915719    31455238+   c  W95 FAT32 (LBA)

Partition table entries are not in disk order



Thanks in advance,

Hans Troost

-----Oorspronkelijk bericht-----
Van: fedora-list-bounces@xxxxxxxxxx [mailto:fedora-list-bounces@xxxxxxxxxx]
Namens Michael Schwendt
Verzonden: vrijdag 22 oktober 2004 22:32
Aan: For users of Fedora Core releases
Onderwerp: Re: HELP: GRUB or Part. Table damaged by QTPARTED!!


On Fri, 22 Oct 2004 20:41:11 +0200, Hans Troost wrote:

> Hi all,
> 
> Newbie, but after some troubles got FC2 2.6.8-something running with a 
> lot of tools (samba, swat, etc..), then used QTPARTED to create an 
> extra FAT32 partition on my disk.
> 
> After doing that and rebooting, the system booted, showed the entries 
> ofthe c:\boot.ini (WinXP partition) and gave me the possibility to 
> choose, all as usual.
> 
> The problem:
> Choosed for the FC2 , and the system came up with a text-only screen 
> with the grub command prompt.

> *	With the rescou disk I was able to 
> *	Cd /mnt/sysimage
> *	Cd to my home directoy: all data (mainly KMAIL files) are still
> there

Fine. Since you've mentioned that you're capable of using the rescue mode,
boot into rescue mode again and retrieve a copies of /boot/grub/grub.conf
and /boot/grub/device.map and /etc/fstab and the output of "parted /dev/hda
print" (substitute hda appropriately). Post them here. Reinstalling GRUB
from within rescue mode should be easy, provided that its configuration is
correct.

-- 
Fedora Core release 2 (Tettnang) - Linux 2.6.8-1.541
loadavg: 1.01 1.03 1.01

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list

<<attachment: winmail.dat>>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux