Re: file system
On Thu, Dec 05, 2002 at 11:12:54PM -0500, Bruce Park wrote:
> Hello Debian users,
> I need some help regarding file system in Linux. Currently, I have four
> partitions on my hard drive. I will use Grub's notation for representing an
> IDE primary-master hard drive
> hd0,0 - Windows (NTFS)
> hd0,1 - boot (ext 2)
> hd0,2 - swap (swap)
> hd0,3 - root (ext 3)
> When I boot using Grub, I'm having problems loading the linux portion.
> Here's what I have in /boot/grub/menu.lst
> title Debian GNU/Linux
> root (hd0,1)
> kernel /vmlinuz-2-4.18-bf2.4 root=/dev/hda4 ro
> I keep getting an error stating that it wants an ext 2 file type. I'm
> thinking that since boot is ext2 and root is ext3, this is causing this
> problem. I would like to solve this problem by converting the boot
> partition to ext 3. Would this solve the problem? If so, how can I perform
> such file conversion without losing data in that partition?
I'm not aware of an incompatibility with mixed ext2/ext3 partitions,
but you can easily convert by using:
tune2fs -j /dev/hda2
Also edit /etc/fstab to indicate that the partition is ext3.