include filesystem repair facilities in initramfs

Bug #512349 reported by Damien Clauzel
28
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Baltix
New
Undecided
Unassigned
busybox (Ubuntu)
Triaged
Wishlist
Unassigned
initramfs-tools (Ubuntu)
Triaged
Wishlist
Unassigned

Bug Description

Binary package hint: busybox

When booting Ubuntu (Karmic), the system will fall into the initramfs prompt if it cannot mount the root volume. This is normal.
But it would be very convenient to be able to repair a file system with fsck.

Busybox does support the fsck applet, but it is not included on Ubuntu. Can this be improved ?

Revision history for this message
Woet (woeterman) wrote :

Definitely needed.

Revision history for this message
Dario Panico (dariopnc-) wrote :

yeah! why this bug has not been considered?

Revision history for this message
Colin Watson (cjwatson) wrote :

It's not as simple as that. Busybox's fsck applet is only the frontend that calls filesystem-specific fsck implementations, and those implementations are not included in Busybox (rightly so, IMO - I wouldn't want to have to deal with data-loss bugs caused by skew between the standard tools and reimplementations in Busybox).

If we want to include repair facilities in the initramfs (which might well be a good idea), we'll need to arrange for initramfs-tools to copy the appropriate fsck implementation into the initramfs, as well as enabling this applet.

Changed in initramfs-tools (Ubuntu):
status: New → Triaged
Changed in busybox (Ubuntu):
status: New → Triaged
Changed in initramfs-tools (Ubuntu):
importance: Undecided → Wishlist
Changed in busybox (Ubuntu):
importance: Undecided → Wishlist
summary: - busybox: should have the "fsck" applet
+ include filesystem repair facilities in initramfs
Alex (rodinalex)
Changed in baltix:
assignee: nobody → Alex (rodinalex)
assignee: Alex (rodinalex) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.