Problem with sda1 file











up vote
0
down vote

favorite












I have a problem while installing and upgrading anything on Ubuntu.
I had windows 8.1 on my Toshiba hdd along side Ubuntu 16.04.
then I installed windows 10 instead of 8.1 and because of some bad UX I tried to reinstall 8.1. that time I mounted a 124GB SSD on my laptop and I deleted windows 10 and installed it on the SSD one and updated Ubuntu 16.04 to 18.04. Then that problem came up and I couldn't fix it even with boot-repair.



The error i get :



Setting up plymouth-theme-ubuntu-gnome-logo (18.04.0) ...
update-initramfs: deferring update (trigger activated)
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.15.0-33-generic
Found initrd image: /boot/initrd.img-4.15.0-33-generic
Found linux image: /boot/vmlinuz-4.15.0-20-generic
Found initrd image: /boot/initrd.img-4.15.0-20-generic
Found linux image: /boot/vmlinuz-4.4.0-109-generic
Found initrd image: /boot/initrd.img-4.4.0-109-generic
Found linux image: /boot/vmlinuz-4.4.0-97-generic
Found initrd image: /boot/initrd.img-4.4.0-97-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 10 on /dev/sda1
error: syntax error.
error: Incorrect command.
error: syntax error.
Syntax error at line 361
Syntax errors are detected in generated GRUB config file.
Ensure that there are no errors in /etc/default/grub
and /etc/grub.d/* files or please file a bug report with
/boot/grub/grub.cfg.new file attached.
dpkg: error processing package plymouth-theme-ubuntu-gnome-logo (--configure):
installed plymouth-theme-ubuntu-gnome-logo package post-installation script subprocess returned error exit status 1
.
.
.









share|improve this question






















  • It says there is a syntax error in line 361. You post the content of /boot/grub/grub.cfg.new?
    – Andreas Hartmann
    yesterday















up vote
0
down vote

favorite












I have a problem while installing and upgrading anything on Ubuntu.
I had windows 8.1 on my Toshiba hdd along side Ubuntu 16.04.
then I installed windows 10 instead of 8.1 and because of some bad UX I tried to reinstall 8.1. that time I mounted a 124GB SSD on my laptop and I deleted windows 10 and installed it on the SSD one and updated Ubuntu 16.04 to 18.04. Then that problem came up and I couldn't fix it even with boot-repair.



The error i get :



Setting up plymouth-theme-ubuntu-gnome-logo (18.04.0) ...
update-initramfs: deferring update (trigger activated)
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.15.0-33-generic
Found initrd image: /boot/initrd.img-4.15.0-33-generic
Found linux image: /boot/vmlinuz-4.15.0-20-generic
Found initrd image: /boot/initrd.img-4.15.0-20-generic
Found linux image: /boot/vmlinuz-4.4.0-109-generic
Found initrd image: /boot/initrd.img-4.4.0-109-generic
Found linux image: /boot/vmlinuz-4.4.0-97-generic
Found initrd image: /boot/initrd.img-4.4.0-97-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 10 on /dev/sda1
error: syntax error.
error: Incorrect command.
error: syntax error.
Syntax error at line 361
Syntax errors are detected in generated GRUB config file.
Ensure that there are no errors in /etc/default/grub
and /etc/grub.d/* files or please file a bug report with
/boot/grub/grub.cfg.new file attached.
dpkg: error processing package plymouth-theme-ubuntu-gnome-logo (--configure):
installed plymouth-theme-ubuntu-gnome-logo package post-installation script subprocess returned error exit status 1
.
.
.









share|improve this question






















  • It says there is a syntax error in line 361. You post the content of /boot/grub/grub.cfg.new?
    – Andreas Hartmann
    yesterday













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I have a problem while installing and upgrading anything on Ubuntu.
I had windows 8.1 on my Toshiba hdd along side Ubuntu 16.04.
then I installed windows 10 instead of 8.1 and because of some bad UX I tried to reinstall 8.1. that time I mounted a 124GB SSD on my laptop and I deleted windows 10 and installed it on the SSD one and updated Ubuntu 16.04 to 18.04. Then that problem came up and I couldn't fix it even with boot-repair.



The error i get :



Setting up plymouth-theme-ubuntu-gnome-logo (18.04.0) ...
update-initramfs: deferring update (trigger activated)
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.15.0-33-generic
Found initrd image: /boot/initrd.img-4.15.0-33-generic
Found linux image: /boot/vmlinuz-4.15.0-20-generic
Found initrd image: /boot/initrd.img-4.15.0-20-generic
Found linux image: /boot/vmlinuz-4.4.0-109-generic
Found initrd image: /boot/initrd.img-4.4.0-109-generic
Found linux image: /boot/vmlinuz-4.4.0-97-generic
Found initrd image: /boot/initrd.img-4.4.0-97-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 10 on /dev/sda1
error: syntax error.
error: Incorrect command.
error: syntax error.
Syntax error at line 361
Syntax errors are detected in generated GRUB config file.
Ensure that there are no errors in /etc/default/grub
and /etc/grub.d/* files or please file a bug report with
/boot/grub/grub.cfg.new file attached.
dpkg: error processing package plymouth-theme-ubuntu-gnome-logo (--configure):
installed plymouth-theme-ubuntu-gnome-logo package post-installation script subprocess returned error exit status 1
.
.
.









share|improve this question













I have a problem while installing and upgrading anything on Ubuntu.
I had windows 8.1 on my Toshiba hdd along side Ubuntu 16.04.
then I installed windows 10 instead of 8.1 and because of some bad UX I tried to reinstall 8.1. that time I mounted a 124GB SSD on my laptop and I deleted windows 10 and installed it on the SSD one and updated Ubuntu 16.04 to 18.04. Then that problem came up and I couldn't fix it even with boot-repair.



The error i get :



Setting up plymouth-theme-ubuntu-gnome-logo (18.04.0) ...
update-initramfs: deferring update (trigger activated)
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.15.0-33-generic
Found initrd image: /boot/initrd.img-4.15.0-33-generic
Found linux image: /boot/vmlinuz-4.15.0-20-generic
Found initrd image: /boot/initrd.img-4.15.0-20-generic
Found linux image: /boot/vmlinuz-4.4.0-109-generic
Found initrd image: /boot/initrd.img-4.4.0-109-generic
Found linux image: /boot/vmlinuz-4.4.0-97-generic
Found initrd image: /boot/initrd.img-4.4.0-97-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 10 on /dev/sda1
error: syntax error.
error: Incorrect command.
error: syntax error.
Syntax error at line 361
Syntax errors are detected in generated GRUB config file.
Ensure that there are no errors in /etc/default/grub
and /etc/grub.d/* files or please file a bug report with
/boot/grub/grub.cfg.new file attached.
dpkg: error processing package plymouth-theme-ubuntu-gnome-logo (--configure):
installed plymouth-theme-ubuntu-gnome-logo package post-installation script subprocess returned error exit status 1
.
.
.






partitioning software-installation windows-8 windows-10






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked yesterday









Hamed Waezi

63




63












  • It says there is a syntax error in line 361. You post the content of /boot/grub/grub.cfg.new?
    – Andreas Hartmann
    yesterday


















  • It says there is a syntax error in line 361. You post the content of /boot/grub/grub.cfg.new?
    – Andreas Hartmann
    yesterday
















It says there is a syntax error in line 361. You post the content of /boot/grub/grub.cfg.new?
– Andreas Hartmann
yesterday




It says there is a syntax error in line 361. You post the content of /boot/grub/grub.cfg.new?
– Andreas Hartmann
yesterday















active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1093097%2fproblem-with-sda1-file%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1093097%2fproblem-with-sda1-file%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Quarter-circle Tiles

build a pushdown automaton that recognizes the reverse language of a given pushdown automaton?

Mont Emei