Skip to main content
replaced http://unix.stackexchange.com/ with https://unix.stackexchange.com/
Source Link

Playing around with the GRUB2 configurationPlaying around with the GRUB2 configuration, I did something wrong, which caused the system to fail booting.

I would like to fix the issue by re-editing the GRUB configuration file using Fedora 16 LiveCD.

I proceeded as follow:

  • mount my system partition [OK]
  • become super user [OK]
  • sudo gedit the /etc/default/grub to restore it as it was prior [OK]
    (Somehow I had to "sudo" although I already was super-user, that's confusing).
  • sudo grub2-mkconfig -o /media/MYPARTITION/boot/grub2/grub.cfg

The last step however returned the file system is read only. So I failed to restore the configuration of GRUB2 :(

How should I proceed?

Playing around with the GRUB2 configuration, I did something wrong, which caused the system to fail booting.

I would like to fix the issue by re-editing the GRUB configuration file using Fedora 16 LiveCD.

I proceeded as follow:

  • mount my system partition [OK]
  • become super user [OK]
  • sudo gedit the /etc/default/grub to restore it as it was prior [OK]
    (Somehow I had to "sudo" although I already was super-user, that's confusing).
  • sudo grub2-mkconfig -o /media/MYPARTITION/boot/grub2/grub.cfg

The last step however returned the file system is read only. So I failed to restore the configuration of GRUB2 :(

How should I proceed?

Playing around with the GRUB2 configuration, I did something wrong, which caused the system to fail booting.

I would like to fix the issue by re-editing the GRUB configuration file using Fedora 16 LiveCD.

I proceeded as follow:

  • mount my system partition [OK]
  • become super user [OK]
  • sudo gedit the /etc/default/grub to restore it as it was prior [OK]
    (Somehow I had to "sudo" although I already was super-user, that's confusing).
  • sudo grub2-mkconfig -o /media/MYPARTITION/boot/grub2/grub.cfg

The last step however returned the file system is read only. So I failed to restore the configuration of GRUB2 :(

How should I proceed?

added 7 characters in body
Source Link
neydroydrec
  • 3.9k
  • 8
  • 34
  • 42

Playing around with the GRUB2 configuration, I did something wrong, which caused the system to fail booting.

I would like to fix the issue by re-editing the GRUB configuration file using Fedora 16 LiveCD.

I proceeded as follow:

  • mount my system partition [OK]
  • become super user [OK]
  • sudo gedit the /etc/default/grub to restore it as it was prior [OK]
    (Somehow I had to "sudo" although I already was super-user, that's confusing).
  • sudo grub2-mkconfig -o /media/MYPARTITION/boot/grub2/grub.cfg

The last step however returned the file system is read only. So I failed to restore the configuration of GRUB2 :(

How should I proceed?

Playing around with the GRUB2 configuration, I did something wrong, which caused the system to fail booting.

I would like to fix the issue by re-editing the GRUB configuration file using Fedora 16 LiveCD.

I proceeded as follow:

  • mount my system partition [OK]
  • become super user [OK]
  • sudo gedit the /etc/default/grub to restore it as it was prior [OK]
    (Somehow I had to "sudo" although I already was super-user, that's confusing).
  • sudo grub2-mkconfig -o /media/MYPARTITION/boot/grub2/grub.cfg

The last step however returned the file is read only. So I failed to restore the configuration of GRUB2 :(

How should I proceed?

Playing around with the GRUB2 configuration, I did something wrong, which caused the system to fail booting.

I would like to fix the issue by re-editing the GRUB configuration file using Fedora 16 LiveCD.

I proceeded as follow:

  • mount my system partition [OK]
  • become super user [OK]
  • sudo gedit the /etc/default/grub to restore it as it was prior [OK]
    (Somehow I had to "sudo" although I already was super-user, that's confusing).
  • sudo grub2-mkconfig -o /media/MYPARTITION/boot/grub2/grub.cfg

The last step however returned the file system is read only. So I failed to restore the configuration of GRUB2 :(

How should I proceed?

Source Link
neydroydrec
  • 3.9k
  • 8
  • 34
  • 42

How to fix mistake in grub.cfg from LiveCD?

Playing around with the GRUB2 configuration, I did something wrong, which caused the system to fail booting.

I would like to fix the issue by re-editing the GRUB configuration file using Fedora 16 LiveCD.

I proceeded as follow:

  • mount my system partition [OK]
  • become super user [OK]
  • sudo gedit the /etc/default/grub to restore it as it was prior [OK]
    (Somehow I had to "sudo" although I already was super-user, that's confusing).
  • sudo grub2-mkconfig -o /media/MYPARTITION/boot/grub2/grub.cfg

The last step however returned the file is read only. So I failed to restore the configuration of GRUB2 :(

How should I proceed?