Additional item in /boot/

Asked by MadhuSoodanan

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
For:
Ubuntu ubuntu-meta Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

This question was reopened

Revision history for this message
enubuntu (mr.tennents) said :
#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
MadhuSoodanan (mt-madhu) said :
#2

Here is the out put:

                             -desktop:~$ ls /boot
abi-3.0.0-14-generic memtest86+.bin
config-3.0.0-14-generic memtest86+_multiboot.bin
extlinux System.map-3.0.0-14-generic
grub vmcoreinfo-3.0.0-14-generic
initrd.img-3.0.0-14-generic vmlinuz-3.0.0-14-generic
                             -desktop:~$
--------------------------------------------------------------------------------------
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
enubuntu (mr.tennents) said :
#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
MadhuSoodanan (mt-madhu) said :
#4

If it is not Ubuntu's I wish to remove it.

Revision history for this message
enubuntu (mr.tennents) said :
#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
MadhuSoodanan (mt-madhu) said :
#6

I didn't installed it deliberately. May be while installing any other apps.

It is from the origin: oneiric/universe(archive.ubuntu.com)
------------------------------------------------------------------------------------------------------------------------------------------------
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
MadhuSoodanan (mt-madhu) said :
#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
MadhuSoodanan (mt-madhu) said :
#8

Thanks Enrico "eNry" Carafa, that solved my question.

Revision history for this message
MadhuSoodanan (mt-madhu) said :
#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
Sam_ (and-sam) said :
#10

Either try update-grub, autoremove or reboot.
FYI.
http://shallowsky.com/linux/extlinux.html

Revision history for this message
MadhuSoodanan (mt-madhu) said :
#11

Synaptic Package Manager shows--5 grub items as installed in my system -- grub-pc-bin ; grub-common ; grub-pc ; grub-gfxpayload-lists ; grub2-common ( all from oneiric/main & version:1.99-12ubuntu5) I didn't install any of them. I don't know which one is needed. I think only one or two are needed. I had tried autoremove using BleachBit yesterday itself. But I couldn't. I don't know the Terminal command.

Revision history for this message
Sam_ (and-sam) said :
#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-lists 0.5 GRUB gfxpayload blacklist
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://help.ubuntu.com/community/Grub2
https://help.ubuntu.com/community/AptGet/Howto

## 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
MadhuSoodanan (mt-madhu) said :
#13

Used all the 3 commands. Extlinux is still there.

Revision history for this message
Sam_ (and-sam) said :
#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://help.ubuntu.com/community/Boot-Repair

Revision history for this message
MadhuSoodanan (mt-madhu) said :
#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-3.0.0-12 & 3.0.0-13 are still there among the 18+17=35 files (in addition to 3.0.0-14)

Revision history for this message
Sam_ (and-sam) said :
#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
MadhuSoodanan (mt-madhu) said :
#17

I can't find boot-info-script anywhere.

Output of sudo blkid is:
/dev/sda1: UUID="75fe51a5-52c4-4ea4-80e9-5d4dbdee078a" TYPE="ext4"
/dev/sda5: UUID="c609f009-9d1c-4a92-8a35-ac480a5ef507" TYPE="swap"

Revision history for this message
Sam_ (and-sam) said :
#18
Revision history for this message
MadhuSoodanan (mt-madhu) said :
#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
Sam_ (and-sam) said :
#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
MadhuSoodanan (mt-madhu) said :
#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-info-script/boot_info_script060.zip
Archive: /boot-info-script/boot_info_script060.zip
  End-of-central-directory signature not found. Either this file is not
  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-info-script/boot_info_script060.zip or
       /boot-info-script/boot_info_script060.zip.zip, and cannot find/boot-info-script/boot_info_script060.zip.ZIP, period.
                                       :~$ sudo bash ~/boot-info-script/boot_info_script.sh

Revision history for this message
Sam_ (and-sam) said :
#22

There was no directory ~/boot-info-script created.
Try something else. Move (cut and paste) the
boot_info_script060.zip
to your /home/<user>

Right click and select in context menu 'Unpack here'.
This will create a directory 'boot_info_script060'.

Then open a terminal: ctrl+alt+t
and run:
sudo bash ~/boot-info-script060/boot_info_script.sh

The results will be in ~/boot-info-script060/RESULTS.txt

> 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.

https://help.ubuntu.com/community/Grub2

Revision history for this message
MadhuSoodanan (mt-madhu) said :
#23

Move (cut and paste) boot_info_script060.zip to /home/<user> is OK. Right clicked. I had no 'Unpack here'. But I had "Extract here". Used it. Got two folders -- boot_info_script060 & boot-info-script. Used the command sudo bash ~/boot-info-script060/boot_info_script.sh . But the result is:

bash:/home/<user>/boot-info-script060/boot_info_script.sh: No such file or directory

Didn't try the instruction in the Grub2 link

Revision history for this message
Sam_ (and-sam) said :
#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-info-script/boot_info_script.sh

or if the folder boot-info-script is within the folder boot_info_script060:
sudo bash ~/boot_info_script060/boot-info-script/boot_info_script.sh

Revision history for this message
MadhuSoodanan (mt-madhu) said :
#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_script060:' boot_info_script are boot_info_script.sh & CHANGELOG
I couldn't use sudo command.

Revision history for this message
Sam_ (and-sam) said :
#26

> The two items in my 'boot_info_script060:' boot_info_script are boot_info_script.sh & CHANGELOG

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_info_script060/boot-info-script

sudo bash boot_info_script.sh

> I couldn't use sudo command

Please clarify 'couldn't use', thanks.

Revision history for this message
MadhuSoodanan (mt-madhu) said :
#27

'No such file or directory' is the output of 'sudo bash boot_info_script.sh'. The two choices you asked me to do was not as expected. So I didn't have to run that command. That was why I said so.

Revision history for this message
Sam_ (and-sam) said :
#28

> 'No such file or directory'

Please try:
cd ~/boot_info_script060
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
MadhuSoodanan (mt-madhu) said :
#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.

To post a message you must log in.