[SOLVED]Re: Booting problem: mount: you must specify the filesystem type

General support questions
Whoever
Posts: 1361
Joined: 2013/09/06 03:12:10

Re: Booting problem: mount: you must specify the filesystem type

Post by Whoever » 2020/01/17 04:12:31

How did you install grub on /dev/sdb ?

pvanthony
Posts: 25
Joined: 2013/09/07 14:14:34

Re: Booting problem: mount: you must specify the filesystem type

Post by pvanthony » 2020/01/17 04:19:33

Whoever wrote:
2020/01/17 04:12:31
How did you install grub on /dev/sdb ?
I followed this following website.
https://jms1.net/grub-raid-1.shtml

pvanthony
Posts: 25
Joined: 2013/09/07 14:14:34

[SOLVED]Re: Booting problem: mount: you must specify the filesystem type

Post by pvanthony » 2020/01/21 15:37:03

Thanks to all your help, the problem is solved.

Did the following change to the /boot/grub/grub.conf and /etc/fstab.

For grub.conf, I changed root=/dev/md1 to root=UUID=f91a794d-2bfd-44c5-abf1-c4ad8c4139bd
and added rd_MD_UUID=dce65261:eb5eb12a:9cf04c7a:ecbfd465

Code: Select all

---------- grub.conf --------------
From.
title CentOS (2.6.32-754.24.3.el6.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.32-754.24.3.el6.x86_64 ro root=/dev/md1 rd_NO_LUKS crashkernel=auto SYSFONT=latarcyrheb-sun16 LANG=en_US.UTF-8 KEYTABLE=us
rd_NO_LVM rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 rdloaddriver=raid1
KEYBOARDTYPE=pc KEYTABLE=us crashkernel=auto rdshell
initrd /initramfs-2.6.32-754.24.3.el6.x86_64.img


To.
title CentOS (2.6.32-754.24.3.el6.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.32-754.24.3.el6.x86_64 ro root=UUID=f91a794d-2bfd-44c5-abf1-c4ad8c4139bd rd_NO_LUKS crashkernel=auto SYSFONT=latarcyrheb-sun16 LANG=en_US.UTF-8 KEYTABLE=us
rd_NO_LVM rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 rdloaddriver=raid1
KEYBOARDTYPE=pc KEYTABLE=us crashkernel=auto rd_MD_UUID=dce65261:eb5eb12a:9cf04c7a:ecbfd465 rdshell
initrd /initramfs-2.6.32-754.24.3.el6.x86_64.img

-------- end grub.conf -----------
For /etc/fstab, changed to UUID.

Code: Select all

----------- /etc/fstab ----------------
From.
/dev/md1		/ 			ext4 	defaults,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0 1 1

To.
UUID=f91a794d-2bfd-44c5-abf1-c4ad8c4139bd               /                       ext4    defaults,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0 1 1

---------- end /etc/fstab ------------

Now the server can boot with just /dev/sda. Replaced /dev/sdb with a new drive and the Raid1 has synced up. All good.

Once again thank you to all who have replied and helped. I really do appreciated it.

Post Reply