Bug 151818

Summary: yast2 creates home as swap partition
Product: [openSUSE] SUSE Linux 10.1 Reporter: Takashi Iwai <tiwai>
Component: YaST2Assignee: E-mail List <bnc-team-screening>
Status: RESOLVED DUPLICATE QA Contact: Klaus Kämpf <kkaempf>
Severity: Blocker    
Priority: P5 - None    
Version: Beta 4   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Takashi Iwai 2006-02-17 14:42:55 UTC
Selecting the whole disk to assign partitions resulted in a home partition to be formated as a swap.

There were 3 partitions in the old system.  In the partition dialog, I selected the "use whole disk" button.  Then yast tries to create /dev/sda1 as /home (80GB), /dev/sda2 as swap, and /dev/sda3 as / (20GB) -- at least it shows so.
However in the real installation, it formats /dev/sda1 as swap.  As a result, no /home exists in the booted system.

Also, "use whole disk" doesn't really use the whole disk space.  Yast doesn't assign the whole disk blocks to partitions but leave unused.
Comment 1 Takashi Iwai 2006-02-17 14:54:50 UTC
As the second try (with "Use whole disk"), yast made the system unbootable.

/dev/sda3 is detected as FAT by GRUB, and can't boot.

Raised to BLOCKER.
Comment 2 Michael Gross 2006-02-17 15:17:14 UTC
Takashi, please attach the yast logs.
Comment 3 Takashi Iwai 2006-02-17 15:22:51 UTC
There is no y2log since yast made the system completely broken.  I can neither boot nor mount the partition any more.

Trying the same procedure now...
Comment 4 Takashi Iwai 2006-02-17 15:29:47 UTC
It seems the stuff regarding partitioning is pretty broken now.

I select the partitions manually.  After removing the whole remaining partitions on the disk, assigned like below:
  /dev/sda1 -> / 20G (reiserfs)
  /dev/sda2 -> swap 1G
  /dev/sda3 -> /home 90G (reiserfs)

The installation starts, but the root partition is NOT mounted but yast continues to install to ramdisk and shows "no enough disk space" dialog.  (/dev/sda3 is mounted to /home, though.)
Comment 5 Takashi Iwai 2006-02-17 15:32:07 UTC
Also, I cannot abort the installation.  Even after pushing "abort installation", yast continues installing packages further...  Sigh.

Comment 7 Michael Gross 2006-02-17 17:38:29 UTC
Takashi: Obviously the packager tends to `mix up' the filesystem types of the partitions sometimes. I will mark this bug as a duplicate of #151808 - this all seems to be related. I noticed that the fstab is written correctly nontheless (correct means with the filesystem that is actually used), can you confirm that?

*** This bug has been marked as a duplicate of 151808 ***