Hi,
I have recently installed linux mandrake 9.1 on my windows XP laptop.It has dual boot with GRUB and everything was working fine till I decided to change the partitions.
My original HD layout information:
Filesystem Size Used Avail Use% Mounted on
/dev/hda6 2.7G 1.5G 1.0G 60% /
/dev/hda8 1.8G 303M 1.5G 18% /home
/dev/hda2 9.9G 9.1G 826M 92% /mnt/win_c
/dev/hda5 14G 5.5G 7.8G 42% /mnt/win_d
there was another FAT partition which was probably /dev/hda1(the loader from DEll which gives the initial splash screen and runs dell utilities at boot time.)
My change:
I was not able to write to my Windows partition(NTFS) from linux so decided to create a FAT32 partition so that my shared data can be kept on this partition.I resized my second windows partition(D drive:/dev/hda5) using Partition magic 8.0 to make a 1 GB fat32 partition,after this partition.And rebooted in windows and tested that the new partition was working fine by copying some files on the new partition(E
.
But when I rebooted and tried to boot in linux, i got following error.
Mounting root filesystem
VFS: Can't find ext3 filesystem on dev ide0(3,6).
mount: error 22 mounting ext 3
pivotroot: pivot_root(/sysroot,/sysroot/initrd) failed:2
Kernel panic: No init found. Try passing init= option to kernel
I know from the above message that the additional partition i have created has changed the nomenclature of partitions on harddisk.So when linux tried to mount partitions from /etc/fstab, it can not load the root as the partitions have changed.But my knowledge about partitions is just enough to resize partitions :-((.So I want to be sure if that is the problem and how should i fix it?I don't want to complicate the matters.
I have thought of this.
Boot in Linux using the mandrake 9.1 bootable cd and go into rescue mode.And somehow change the fstab to point to the new partition.
Following is the current partition info i got from partition magic:
==================================================================================================== =======
Partition Information for Disk 1: 28,615.8 Megabytes
Volume PartType Status Size MB PartSect # StartSect TotalSects
==================================================================================================== =======
*
ellUtility Dell Pri 31.3 0 0 63 64,197
C: NTFS Pri,Boot 10,048.5 0 1 64,260 20,579,265
ExtendedX Pri 18,535.9 0 3 20,643,525 37,961,595
EPBR Log 12,519.4 None -- 20,643,525 25,639,740
D: NTFS Log 12,519.4 20,643,525 0 20,643,588 25,639,677
EPBR Log 1,004.1 20,643,525 1 46,283,265 2,056,320
E:IMP_DATA FAT32 Log 1,004.0 46,283,265 0 46,283,328 2,056,257
EPBR Log 2,737.6 46,283,265 1 48,339,585 5,606,685
Linux Ext3 Log 2,737.6 48,339,585 0 48,339,648 5,606,622
EPBR Log 494.2 48,339,585 1 53,946,270 1,012,095
*:SWAPSPACE2 Linux Swap Log 494.2 53,946,270 0 53,946,333 1,012,032
EPBR Log 1,780.6 53,946,270 1 54,958,365 3,646,755
Linux Ext3 Log 1,780.6 54,958,365 0 54,958,428 3,646,692
Can any one guide me if this is right thing to do?
regards,
Shirish.
(Dell inspiron2600 with 650 MB SD RAM)