Rescue mode should not force partition mounting

Bug #22311 reported by Dan Sandberg
14
Affects Status Importance Assigned to Milestone
Baltix
Fix Released
Medium
Unassigned
rescue (Debian)
Fix Released
Unknown
rescue (Ubuntu)
Fix Released
Wishlist
Colin Watson

Bug Description

I booted in the rescue mode to resize the partition that Hoary Hedgehog Preview
created ( aside: the installer told me it would give me the chance to review the
partition structure it came up with, but then went ahead and created it without
asking for explicit confirmation that the partition structure was as I wanted ).

The rescue mode forced me to choose which partition to mount. But I didn't want
to mount any partitions. The whole purpose in using the rescue mode was to NOT
mount /dev/hda1 so that I could resize it. I suppose I could try mounting one
of the other partitions ( like the swap partition ) as root but this is very
counter-intuitive. / should be mounted as a ram-disk by default and then other
partitions should be optionally mounted as well.

Tags: pet-bug
Revision history for this message
Colin Watson (cjwatson) wrote :

Rescue mode wasn't designed with this use case in mind. It seems like a
reasonable request, so perhaps it can be extended to do this in the future,
although you'd probably have to do the partition editing with parted rather than
the partition manager in the installer.

Revision history for this message
Dan Sandberg (x-cs) wrote :

Yup, parted is what I had in mind.

Generally speaking, often you want rescue mode because your primary partition is
fubar in one way or another. So forcing you to mount it ( which prevents parted
from running, as well as fsck, ... ) is counter-productive.

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

The original reason I wrote rescue mode was because a lot of people wanted to
have an easy way to use the install CD to reinstall a broken bootloader, and I
got fed up of explaining the convoluted process of doing so by hand so decided
to automate the hard parts. :-) I do agree that your case is a good one too,
though, and I'll see what I can do to implement support for it.

Colin Watson (cjwatson)
Changed in rescue:
assignee: kamion → nobody
status: Unconfirmed → Confirmed
Revision history for this message
Colin Watson (cjwatson) wrote :
Colin Watson (cjwatson)
Changed in rescue:
assignee: nobody → kamion
status: Confirmed → In Progress
Revision history for this message
Colin Watson (cjwatson) wrote :

I've synced this upload from Debian unstable:

rescue (1.20) unstable; urgency=low

  * Merge from Ubuntu:
    - Load ext4 module if available.
  * Allow operation without a root filesystem (closes: #505113).

  [ Updated translations ]
  * Belarusian (be.po) by Pavel Piatruk
  * Basque (eu.po) by Piarres Beobide
  * French (fr.po) by Christian Perrier
  * Galician (gl.po) by marce villarino
  * Hindi (hi.po) by Kumar Appaiah
  * Kazakh (kk.po) by daur88
  * Malayalam (ml.po) by Praveen Arimbrathodiyil
  * Marathi (mr.po) by Sampada
  * Portuguese (pt.po) by Miguel Figueiredo
  * Slovak (sk.po) by Ivan Masár
  * Swedish (sv.po) by Daniel Nylander
  * Thai (th.po) by Theppitak Karoonboonyanan
  * Tagalog (tl.po) by Eric Pareja

 -- Colin Watson <email address hidden> Fri, 20 Feb 2009 13:27:53 +0000

Changed in rescue:
status: In Progress → Fix Released
Changed in rescue:
status: Unknown → Fix Released
Przemek K. (azrael)
Changed in baltix:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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