jethro Posted November 18, 2006 Report Share Posted November 18, 2006 Hi everybody, I devided one physical hard drive in two parts, the first part contains one partition for my Windows installation. The second part contains my Mandriva 2007 installation and one partition which I can use in both Windows and Mandriva. When I created this last partition after the installation of Mandriva 2007 things went wrong. This is the situation before I created the extra partition. 1 - empty (sda5) 2 - / (sda6) 3 - swap (sda7) 4 - /home (sda8) This is how thing look after I created the OS-SWAP partition. 1 - OS-SWAP (FAT32) 2 - / (sda5) 3 - swap (sda6) 4 - /home (sda7) After I created the extra partition (the OS-SWAP) using Mandriva, Mandriva said I had to run the "restore boatloader" option from the rescue mode of the install DVD because the drive numbers are changed (sda6 -> sda5, sda7 -> sda6, sda8 -> sda7). I first tried booting into Mandriva without doing this which resulted in a kernel panic, because something went wrong with the mounting of the drives. After I ran the "restore boatloader" thing it still went wrong the same way. Am I doing something wrong here? I am not sure, but perhaps I also have to modify fstab, but I am not sure if this is the way to go and I do not want to mess things up even more. I hope someone around here can tell what to do. Best regards, Jethro Quote Link to comment Share on other sites More sharing options...
jethro Posted November 18, 2006 Author Report Share Posted November 18, 2006 I just booted with Knoppix and retreived this information: fstab: /dev/sda5 / ext3 defaults 1 1 /dev/sda7 /home ext3 defaults 1 2 /dev/hdc /mnt/cdrom auto umask=0,users,iocharset=utf8,noauto,ro,exec 0 0 /dev/sda1 /mnt/win_c ntfs umask=0,nls=utf8,ro 0 0 none /proc proc defaults 0 0 /dev/sda6 swap swap defaults 0 0 lilo.conf: # File generated by DrakX/drakboot # WARNING: do not forget to run lilo after modifying this file default="linux" boot=/dev/sda map=/boot/map keytable=/boot/us-intl.klt menu-scheme=wb:bw:wb:bw compact prompt nowarn timeout=100 message=/boot/message image=/boot/vmlinuz label="linux" root=/dev/sda5 initrd=/boot/initrd.img append="noapic resume=/dev/sda6 splash=verbose" vga=788 image=/boot/vmlinuz label="linux-nonfb" root=/dev/sda5 initrd=/boot/initrd.img append="noapic resume=/dev/sda6 splash=verbose" image=/boot/vmlinuz label="failsafe" root=/dev/sda5 initrd=/boot/initrd.img append="failsafe resume=/dev/sda6" other=/dev/sda1 label="windows" table=/dev/sda The exact error I get when trying to boot into the installed Mandriva is: Can't find ext3 filesystem on sda5 I hope this information helps. Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted November 18, 2006 Report Share Posted November 18, 2006 I would try booting a Linux CD in rescue mode, and then from the command prompt do this: mkdir /mnt/root mount /dev/sda5 /mnt/root and see what happens. Check in /mnt/root to see if you can see your filesystem, namely directories and files. If you can, I would then suggest typing: mount and see what file system it says against /dev/sda5. Either, your system is not ext3, or, it's trashed this partition. Quote Link to comment Share on other sites More sharing options...
jethro Posted November 18, 2006 Author Report Share Posted November 18, 2006 I fixed it! This is what I did: - go into the rescue mode of the Mandriva 2007 install DVD. - edit fstab via the console, this is what I changed: sda5 -> sda6, sda6->sda7 for all entries. - choose the option "mount all harddrives". - choose the option "re-install boot loader". After these steps it al worked again. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.