Additional item in /boot/
I can see an extraordinary folder in /boot/. In boot .. altogether 10 items. Among them a new folder -- 'extlinux'. In it there are 7 items. Anything to do?
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
|
#1 |
What is the problem?
Do this:
1. Open a terminal by hitting CTRL + ALT + T
2. Insert and run this command:
ls /boot
3. Copy and paste here the result.
Revision history for this message
|
#2 |
Here is the out put:
abi-3.0.
config-
extlinux System.
grub vmcoreinfo-
initrd.
-------
After the updating the old kernel was there-- 3.0.0.13. I removed those items. I wish to know whether 'extlinux' is something not needed.
Revision history for this message
|
#3 |
After many searches I've found that extlinux is a bootload, like Grub. I don't know how it was installed because Ubuntu by default use Grub. But if your system boot properly without problem I suggest you to don't change anything.
Revision history for this message
|
#4 |
If it is not Ubuntu's I wish to remove it.
Revision history for this message
|
#5 |
If you have installed it and now it provide for boot your system you can't boot your Ubuntu.
Revision history for this message
|
#6 |
I didn't installed it deliberately. May be while installing any other apps.
It is from the origin: oneiric/
-------
SYSLINUX is a collection of boot loaders which operates off Linux ext2/3/4 or
btrfs filesystems, MS-DOS FAT filesystems, network servers using PXE firmware,
or from CD-ROMs.
This package contains the ext2/3/4 and btrfs bootloader.
-------
Since Grub is there, if I try to remove it, will it create any problem? I don't have any other os in my system.
Revision history for this message
|
#7 |
I removed the apps using Ubuntu software center. Thanks Enrico "eNry" Carafa. From your suggestion I understood that it is not needed. I removed it only 10 minutes ago. No problem so far.
Revision history for this message
|
#8 |
Thanks Enrico "eNry" Carafa, that solved my question.
Revision history for this message
|
#9 |
It didn't go from /boot/. I think it came from UNetbootin. I removed it from Ubuntu software center. Completely removed from Synaptic package manager. But it is still in /boot/.
Revision history for this message
|
#10 |
Either try update-grub, autoremove or reboot.
FYI.
http://
Revision history for this message
|
#11 |
Synaptic Package Manager shows--5 grub items as installed in my system -- grub-pc-bin ; grub-common ; grub-pc ; grub-gfxpayload
Revision history for this message
|
#12 |
> I didn't install any of them
Ubuntu uses grub2, the files are standard installation.
~$ dpkg -l grub* |grep ii
ii grub-common 1.99-12ubuntu5 GRand Unified Bootloader (common files)
ii grub-gfxpayload
ii grub-pc 1.99-12ubuntu5 GRand Unified Bootloader, version 2 (PC/BIOS version)
ii grub-pc-bin 1.99-12ubuntu5 GRand Unified Bootloader, version 2 (PC/BIOS binaries)
ii grub2-common
Update grub, clean up package cache and reboot via terminal: ctrl+alt+t
sudo update-grub
sudo apt-get clean && sudo apt-get autoclean && sudo apt-get autoremove
sudo reboot
https:/
https:/
## Although I'm aware about the disagreement, actually I'm unable to comprehend the upset around clean up. Who needs bleachbit anyway? Ubuntu on board tools, e.g. apt, are sufficient enough in clean up.
Ubuntu was advanced and smart enough over the years not to enlarge my rootfs during upgrades.
Revision history for this message
|
#13 |
Used all the 3 commands. Extlinux is still there.
Revision history for this message
|
#14 |
To find out which bootloader is used please post output of:
sudo hexdump -v -s 0x80 -n 2 -e '2/1 "%x" "\n"' /dev/sda
## /dev/sda assumed bootloader is installed in mbr not on a particular partition.
Which filesystem is used ext4, btrfs?
If interested to further analyse boot process there is boot-info-script.
https:/
Revision history for this message
|
#15 |
The only output is : 020
Nothing more.
> Which filesystem is used ext4, btrfs?
I don't know how to find out.
I can see ext4 in /sbin & /usr/share/man/man8 & /usr/src/ (altogether 18 files)
And btrfs in /boot/grub & /lib/modules/ & /usr/lib/python2.6/ & /python2.7/ & /usr/share/ & /usr/src/ (altogether 17 files)
linux-headers-
Revision history for this message
|
#16 |
> The only output is : 020
Which means Grub is the bootloader. The table can be found in boot-info-script.
Filesystem can be viewed from e.g.
cat /etc/fstab
or
sudo blkid
Revision history for this message
|
#17 |
I can't find boot-info-script anywhere.
Output of sudo blkid is:
/dev/sda1: UUID="75fe51a5-
/dev/sda5: UUID="c609f009-
Revision history for this message
|
#18 |
Boot-info-script is mentioned in the link of comment #14.
http://
Or scroll down to 'Determine the version of GRUB' there.
http://
Revision history for this message
|
#19 |
Need I click the Green rectangle to download the boot_info_script. (in the first link)
I can see MBR : GRUB 2 (version 1.99) against 020. Need I give the sudo command given just below the "Determine the version of GRUB Manual" (in the second link)
I don't think I will be able to follow link given in #14
Revision history for this message
|
#20 |
> Need I give the sudo command given just below the "Determine the version of GRUB Manual" (in the second link)
It's the one from #14 and you've posted output in #15.
020 is the identifier for Grub 1.99.
Where is actually the problem, your bootloader is Grub, your filesystem is ext4.
Scroll down to bottom of translated page to: 'comprehensive analysis using Boot Info Script'.
Revision history for this message
|
#21 |
The only thing I want is to remove the unwanted extlinux from boot. The last few lines when I gave the command given there follows:
:~$ unzip -d ~/boot-info-script/ ~/boot-
Archive: /boot-info-
End-of-
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of/boot-
Revision history for this message
|
#22 |
There was no directory ~/boot-info-script created.
Try something else. Move (cut and paste) the
boot_info_
to your /home/<user>
Right click and select in context menu 'Unpack here'.
This will create a directory 'boot_info_
Then open a terminal: ctrl+alt+t
and run:
sudo bash ~/boot-
The results will be in ~/boot-
> remove the unwanted extlinux from boot
If extlinux is disturbing so much and if you know how to reinstall grub (see boot-repair page) and kernel images in case something goes wrong then move it somewhere manually.
Otherwise just leave it there. If it was purged already maybe it's gone after another reboot.
Revision history for this message
|
#23 |
Move (cut and paste) boot_info_
bash:/home/
Didn't try the instruction in the Grub2 link
Revision history for this message
|
#24 |
> I had no 'Unpack here'
Due to german local here.
My result was different after extracting, so was the description.
Anyway, adjust the path as it is on your system.
e.g.
sudo bash <path_to_script>
If boot_info_script.sh is in folder boot-info-script, then you would:
sudo bash ~/boot-
or if the folder boot-info-script is within the folder boot_info_
sudo bash ~/boot_
Revision history for this message
|
#25 |
> Anyway, adjust the path as it is on your system.
e.g.
sudo bash <path_to_script>
Didn't understand 'sudo bash <path_to_script>'. Need I adjust anything?
Boot-info-script is empty.
The two items in my 'boot_info_
I couldn't use sudo command.
Revision history for this message
|
#26 |
> The two items in my 'boot_info_
Ok, then this is a folder:
boot_info_script060
is a folder
boot_info_script
is the script to run
boot_info_script.sh
This should run the script:
cd ~/boot_
sudo bash boot_info_script.sh
> I couldn't use sudo command
Please clarify 'couldn't use', thanks.
Revision history for this message
|
#27 |
'No such file or directory' is the output of 'sudo bash boot_info_
Revision history for this message
|
#28 |
> 'No such file or directory'
Please try:
cd ~/boot_
ls -al
If the output displays the script, run:
sudo bash boot_info_script.sh
If not please post complete output, thanks.
Revision history for this message
|
#29 |
Due to some hardware problems with my system I was compelled to reinstall Ubuntu today. Sam, you worked a lot for me. Thanks a lot.
Can you help with this problem?
Provide an answer of your own, or ask MadhuSoodanan for more information if necessary.