mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-16 22:13:01 +02:00
grub: Remove ro attribute from kernel command line.
This commit is contained in:
@@ -11,11 +11,11 @@ splashimage (hd0,0)/grub/ipfire.xpm.gz
|
||||
#terminal --timeout=1 serial console
|
||||
title IPFire
|
||||
root (hd0,0)
|
||||
kernel /vmlinuz-KVER-ipfire root=ROOT panic=10 MOUNT
|
||||
kernel /vmlinuz-KVER-ipfire root=ROOT panic=10
|
||||
initrd /ipfirerd-KVER.img
|
||||
savedefault 0
|
||||
title IPFire (vesafb 1024x768)
|
||||
root (hd0,0)
|
||||
kernel /vmlinuz-KVER-ipfire root=ROOT panic=10 vga=791 MOUNT
|
||||
kernel /vmlinuz-KVER-ipfire root=ROOT panic=10 vga=791
|
||||
initrd /ipfirerd-KVER.img
|
||||
savedefault 1
|
||||
|
||||
@@ -531,13 +531,11 @@ int main(int argc, char *argv[]) {
|
||||
switch (destination->filesystem) {
|
||||
case HW_FS_REISERFS:
|
||||
replace("/harddisk/etc/fstab", "FSTYPE", "reiserfs");
|
||||
replace("/harddisk/boot/grub/grub.conf", "MOUNT", "ro");
|
||||
break;
|
||||
|
||||
case HW_FS_EXT4:
|
||||
case HW_FS_EXT4_WO_JOURNAL:
|
||||
replace("/harddisk/etc/fstab", "FSTYPE", "ext4");
|
||||
replace("/harddisk/boot/grub/grub.conf", "MOUNT", "ro");
|
||||
break;
|
||||
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user