On Mon, 2004-05-31 at 19:10 +0400, Kevac Marko wrote: > Chiheb Djabri wrote: > > I tried to Reinstall Grub...because it lost it after insalling XP but I > > failed.... the /boot is already mounted...si all I did is Grub-install > > /dev/hda7 ( I was not sure wich partition I use to boot). Is there a > > command that can list allo partitions in my hard disc. Do I have to make > > active the Fedora Partition after installing Grub???? > > Partition table you can see that way: > #fdisk /dev/hda > then 'p' To show all partition info on all drives: [root@tabb1 scr]# fdisk -l To show partition info on (for example) /dev/hde [root@tabb1 scr]# fdisk -l /dev/hde To make a /boot partition on /dev/hda active and Windoze partition inactive (although, based on other posts, that's apparently not what will fix the original problem): [root@tabb1 scr]# fdisk /dev/hda The number of cylinders for this disk is set to 5606. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with: 1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Command (m for help): m Command action a toggle a bootable flag b edit bsd disklabel c toggle the dos compatibility flag d delete a partition l list known partition types m print this menu n add a new partition o create a new empty DOS partition table p print the partition table q quit without saving changes s create a new empty Sun disklabel t change a partition's system id u change display/entry units v verify the partition table w write table to disk and exit x extra functionality (experts only) Command (m for help): p Disk /dev/hda: 46.1 GB, 46115758080 bytes 255 heads, 63 sectors/track, 5606 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hda1 1 7 56196 83 Linux /dev/hda2 * 8 2050 16410397+ c W95 FAT32 (LBA) /dev/hda3 2051 3075 8233312+ 83 Linux /dev/hda4 3076 5606 20330257+ 5 Extended /dev/hda5 3076 3271 1574338+ 83 Linux /dev/hda6 3272 5606 18755856 83 Linux Command (m for help): a Partition number (1-6): 2 Command (m for help): p Disk /dev/hda: 46.1 GB, 46115758080 bytes 255 heads, 63 sectors/track, 5606 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hda1 1 7 56196 83 Linux /dev/hda2 8 2050 16410397+ c W95 FAT32 (LBA) /dev/hda3 2051 3075 8233312+ 83 Linux /dev/hda4 3076 5606 20330257+ 5 Extended /dev/hda5 3076 3271 1574338+ 83 Linux /dev/hda6 3272 5606 18755856 83 Linux Command (m for help): a Partition number (1-6): 1 Command (m for help): p Disk /dev/hda: 46.1 GB, 46115758080 bytes 255 heads, 63 sectors/track, 5606 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hda1 * 1 7 56196 83 Linux /dev/hda2 8 2050 16410397+ c W95 FAT32 (LBA) /dev/hda3 2051 3075 8233312+ 83 Linux /dev/hda4 3076 5606 20330257+ 5 Extended /dev/hda5 3076 3271 1574338+ 83 Linux /dev/hda6 3272 5606 18755856 83 Linux Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table. WARNING: Re-reading the partition table failed with error 16: Device or resource busy. The kernel still uses the old table. The new table will be used at the next reboot. Syncing disks. Note: The error message above is normal for a disk with mounted partitions. Phil