Bug#490287: No root file system

2008-07-11 Thread Geert Stappers
Package: installation-guide-i386
Version: 2008-07-11 Alioth website


Hello,

On an automated install I get this fatal warning:

[!!] Partition disks
 No root file system
   No root file system is defined.


The preseed file that is used is an unmodified one from
 http://d-i.alioth.debian.org/manual/example-preseed.txt

I assume it is an out-dated example.

If the error is in partman, then is this bugreport about the partman
version that is in netboot.tar.gz with version.info
Debian version:  5.0 (lenny)
Installer build: 20080710-09:06


What is needed to get an working example-preseed.txt again?



Cheers
Geert Stappers




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#490287: No root file system

2008-07-11 Thread Frans Pop
reassign 490287 installation-reports
thanks

On Friday 11 July 2008, Geert Stappers wrote:
 On an automated install I get this fatal warning:

No root file system is defined.

 The preseed file that is used is an unmodified one from
  http://d-i.alioth.debian.org/manual/example-preseed.txt

 I assume it is an out-dated example.

I assume it's an error in your installation or your preseed file. The 
example is not an *example* for nothing. It may need modification.

Suggest you start by commenting out the settings for:
- partman/choose_partition
- partman/confirm

That will allow you to see what the actual configuration that was created 
looks like. Please find out *what* is wrong and *why*.

Cheers,
FJP



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#490287: No root file system

2008-07-11 Thread Geert Stappers
Op 11-07-2008 om 12:55 schreef Frans Pop:
 
 Suggest you start by commenting out the settings for:
 - partman/choose_partition
 - partman/confirm
 
 That will allow you to see what the actual configuration that was created 
 looks like. Please find out *what* is wrong and *why*.

The file example-preseed.txt from Alioth specifies SCSI or SATA disk,
but the installed system has an IDE disk.


--- a/manual/example-preseed.txt
+++ b/manual/example-preseed.txt
@@ -81,13 +81,10 @@ d-i clock-setup/ntp boolean true
 #d-i partman-auto/init_automatically_partition \
 #  select Guided - use the largest continuous free space
 
-# Alternatively, you can specify a disk to partition. The device name must
-# be given in traditional non-devfs format.
+# Specify a disk to partition.
+# Required when there are more disks then just one.
 # For example, to use the first SCSI/SATA hard disk:
-d-i partman-auto/disk string /dev/sda
-# Note: If you want to use whatever disk is available, no matter
-# what its device name, comment the line above out. This will only work if
-# the system only has one disk.
+#d-i partman-auto/disk string /dev/sda
 # In addition, you'll need to specify the method to use.
 # The presently available methods are: regular, lvm and crypto
 d-i partman-auto/method string lvm


That patch got me past the 'No root file system' error.


Cheers
Geert Stappers




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#490287: No root file system

2008-07-11 Thread Jon Ander Ortiz
This works with the lenny installer = versions but not with the etch, as i
was answered in this list a few days ago, the partman-auto/disk  is only
optional since lenny installer.

Regards:
jonbaine

2008/7/11 Geert Stappers [EMAIL PROTECTED]:

 Op 11-07-2008 om 12:55 schreef Frans Pop:
 
  Suggest you start by commenting out the settings for:
  - partman/choose_partition
  - partman/confirm
 
  That will allow you to see what the actual configuration that was created
  looks like. Please find out *what* is wrong and *why*.

 The file example-preseed.txt from Alioth specifies SCSI or SATA disk,
 but the installed system has an IDE disk.


 --- a/manual/example-preseed.txt
 +++ b/manual/example-preseed.txt
 @@ -81,13 +81,10 @@ d-i clock-setup/ntp boolean true
  #d-i partman-auto/init_automatically_partition \
  #  select Guided - use the largest continuous free space

 -# Alternatively, you can specify a disk to partition. The device name must
 -# be given in traditional non-devfs format.
 +# Specify a disk to partition.
 +# Required when there are more disks then just one.
  # For example, to use the first SCSI/SATA hard disk:
 -d-i partman-auto/disk string /dev/sda
 -# Note: If you want to use whatever disk is available, no matter
 -# what its device name, comment the line above out. This will only work if
 -# the system only has one disk.
 +#d-i partman-auto/disk string /dev/sda
  # In addition, you'll need to specify the method to use.
  # The presently available methods are: regular, lvm and crypto
  d-i partman-auto/method string lvm


 That patch got me past the 'No root file system' error.


 Cheers
 Geert Stappers




 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact
 [EMAIL PROTECTED]




Bug#490287: No root file system

2008-07-11 Thread Joey Hess
Jon Ander Ortiz wrote:
 This works with the lenny installer = versions but not with the etch, as i 
 was
 answered in this list a few days ago, the partman-auto/disk  is only optional
 since lenny installer.

It should be conditionalised in the menu to only be uncommented on etch
then.

However, IIRC we're not maintaining the menu for etch anyway.

I have no made the change because my memories of partman-auto/disk
changes are weak.

-- 
see shy jo


signature.asc
Description: Digital signature


Bug#490287: No root file system

2008-07-11 Thread Frans Pop
On Friday 11 July 2008, Joey Hess wrote:
 Jon Ander Ortiz wrote:
  This works with the lenny installer = versions but not with the
  etch, as i was answered in this list a few days ago, the
  partman-auto/disk  is only optional since lenny installer.

 It should be conditionalised in the menu to only be uncommented on etch
 then.

What menu? Uncommented how, where?

 However, IIRC we're not maintaining the menu for etch anyway.

 I have no made the change because my memories of partman-auto/disk
 changes are weak.

The problem here is that some users are using the wrong documentation or 
preseed examples for the release they are using. The manual is correct.

Anyway, that wasn't the problem here as Geert was using daily build + 
alioth manual, so Jon's comment did not really apply.

Geert's problem was much more basic: not adjusting his preseed file to his 
actual system. He left the example value of /dev/sda while installing a 
system with /dev/hda...

His proposed patch does not look logical to me at first glance though, but 
I was hoping you'd know :-)

My suggestion would be to just close this as user error.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#490287: No root file system

2008-07-11 Thread Joey Hess
Frans Pop wrote:
 What menu? Uncommented how, where?

s/menu/manual/g

 The problem here is that some users are using the wrong documentation or 
 preseed examples for the release they are using. The manual is correct.
 
 Anyway, that wasn't the problem here as Geert was using daily build + 
 alioth manual, so Jon's comment did not really apply.
 
 Geert's problem was much more basic: not adjusting his preseed file to his 
 actual system. He left the example value of /dev/sda while installing a 
 system with /dev/hda...

- auto.d/initial_auto: If partman-auto/method is preseeded and
  partman-auto/disk is not but there is only one disk, act as though
  partman-auto/disk had been preseeded to that disk. This simplifies a
  number of preseeding scenarios complicated by the removal of devfs
  path support.

That change was made post-etch.

So, this will make it work w/o modification for users with 1 disk (and it
will prompt  1):

Index: preseed.xml
===
--- preseed.xml (revision 54089)
+++ preseed.xml (working copy)
@@ -925,10 +925,8 @@
 # Alternatively, you can specify a disk to partition. The device name must
 # be given in traditional non-devfs format.
 # For example, to use the first SCSI/SATA hard disk:
-d-i partman-auto/disk string /dev/sda
-# Note: If you want to use whatever disk is available, no matter
-# what its device name, comment the line above out. This will only work if
-# the system only has one disk.
+# Note: A disk must be specified, unless the system has only one disk.
+#d-i partman-auto/disk string /dev/sda
 # In addition, you'll need to specify the method to use.
 # The presently available methods are: regular, lvm and crypto
 d-i partman-auto/method string lvm

-- 
see shy jo


signature.asc
Description: Digital signature


Bug#490287: No root file system

2008-07-11 Thread Geert Stappers
Op 11-07-2008 om 15:50 schreef Jon Ander Ortiz:
 This works with the lenny installer = versions but not with the etch, as i
 was answered in this list a few days ago, the partman-auto/disk  is only
 optional since lenny installer.

Mmm, so more people did encounter 'partman-auto/disk'. I think almost
all users of systems with a single IDE-disk will encounter.

On systems with more IDE-disks there is a partition disks menu,
not an error.

The patch is an improved compared to the previous version.


Cheers
Geert Stappers




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#490287: No root file system

2008-07-11 Thread Frans Pop
On Friday 11 July 2008, Joey Hess wrote:
 So, this will make it work w/o modification for users with 1 disk (and
 it will prompt  1):

OK. I have no problems with that. Don't think the change increases the 
chance of things accidentally going wrong.

Feel free to commit (and reassign/tag).



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]