Bug 428924 - Error message using harddisk installation mode with openSUSE 11.1 Beta 1
Summary: Error message using harddisk installation mode with openSUSE 11.1 Beta 1
Status: RESOLVED FIXED
Alias: None
Product: openSUSE 11.2
Classification: openSUSE
Component: Installation (show other bugs)
Version: Milestone 4
Hardware: x86 SUSE Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Steffen Winterfeldt
QA Contact: Jiri Srain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-22 21:56 UTC by Forgotten User PoQ9LLo9Cj
Modified: 2009-09-11 13:03 UTC (History)
3 users (show)

See Also:
Found By: Beta-Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
log file linuxrc as foo (5.43 KB, text/plain)
2008-10-02 20:58 UTC, Forgotten User PoQ9LLo9Cj
Details
linuxrc log file as foo_boot_menu (8.03 KB, text/plain)
2008-10-23 19:58 UTC, Forgotten User PoQ9LLo9Cj
Details
Log file linuxrc as foo_cmd_line (8.29 KB, text/plain)
2008-10-23 20:00 UTC, Forgotten User PoQ9LLo9Cj
Details
linuxrc log file as foo (5.43 KB, text/plain)
2008-11-04 22:19 UTC, Forgotten User PoQ9LLo9Cj
Details
linuxrc log file as foo (8.36 KB, text/plain)
2008-11-15 09:19 UTC, Forgotten User PoQ9LLo9Cj
Details
linuxrc log file as foo (13.50 KB, text/plain)
2008-11-29 15:28 UTC, Forgotten User PoQ9LLo9Cj
Details
linuxrc log file as foo (13.50 KB, text/plain)
2009-01-28 18:30 UTC, Forgotten User PoQ9LLo9Cj
Details
linuxrc log file as foo (2.20 KB, text/plain)
2009-07-30 16:47 UTC, Forgotten User PoQ9LLo9Cj
Details
linuxrc log file as foo (13.17 KB, text/plain)
2009-09-10 19:45 UTC, Forgotten User PoQ9LLo9Cj
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Forgotten User PoQ9LLo9Cj 2008-09-22 21:56:49 UTC
I tried to install openSUSE 11.1 Beta 1 with the harddisk installation mode. 

1) I copied the contents of the openSUSE Beta 1 DVD to a directory /opensuse on a NTFS partition of harddisk /dev/sdb1
2) I booted from DVD and set the installation mode to harddisk and entered the harddisk device /dev/sdb1 and the directory /opensuse.
3) After linux boot Linuxrc V3.3.3 started up. But there is a red box with a error message:
"Could not find the openSUSE Repository
Activating manual setup program.
4) Then I tried to use the setup program to activated the harddisk installation mode. But the setup program shows a similar error message.

Output of command 'fdisk -l':
________________________________________
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylindersa
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x4f7c3694

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1         191     1534176   27  Unknown
/dev/sda2   *         192       18866   150006937+   7  HPFS/NTFS
/dev/sda3           18867       19457     4747207+   7  HPFS/NTFS

Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xf7f62e22

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1       15659   125780224+   7  HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sdb2           15659       16181     4193280   82  Linux swap / Solaris
Partition 2 does not end on cylinder boundary.
/dev/sdb3           16181       19458    26314816+  83  Linux
Partition 3 does not end on cylinder boundary.
________________________________________
Comment 1 Steffen Winterfeldt 2008-10-02 10:29:10 UTC
Does it work without giving the device? Say, booting with
'install=hd:/opensuse'?

If not, please boot with 'linuxrc.debug=1 linuxrc.log=/foo' and attach
the log. (Or watch console 3 for hints what's going wrong.)
Comment 2 Forgotten User PoQ9LLo9Cj 2008-10-02 20:58:23 UTC
Created attachment 243212 [details]
log file linuxrc as foo

I have started the opensuse setup with boot command line:
install=hd:/opensuse linuxrc.debug=1 linuxrc.log=/foo

But linuxrc still reports the same red error message on screen.

According to the log file linuxrc can not mount directory /opensuse on the NTFS partition /dev/sdb1.

linuxrc log file 'foo':
"[...]
url mount: hd:/opensuse?device=sdb1 failed
[...]
repository: not found
no openSUSE repository found
Automatic setup not possible.
"
Comment 3 Forgotten User PoQ9LLo9Cj 2008-10-05 21:48:33 UTC
I have the same problem with openSUSE 11.1 Beta 2.
Comment 4 Steffen Winterfeldt 2008-10-06 08:51:49 UTC
Here's the relevant log part:

> url = file:/var/adm/mount/boot/i386/cracklib-dict-full.rpm
> loading file:/var/adm/mount/boot/i386/cracklib-dict-full.rpm -> /download/file_0002
> sha1 da39a3ee5e6b4b0d3255bfef95601890afd80709
> sha1 check failed

That's the sha1 sum of an empty file which very likely means that the
cracklib rpm link points to nothing.
Comment 5 Steffen Winterfeldt 2008-10-06 09:23:47 UTC
.
Comment 6 Steffen Winterfeldt 2008-10-06 09:32:08 UTC
similar to bug 431861

It looks like kiwi still has some problems with iso creation. The x86 iso
is indeed broken: it has a /boot/i386 tree (like a bi-arch iso but
without i386 packages). If you boot from dvd you wouldn't normally notice
but after your copy-to-disk operation you for some reason booted in i386
mode (see your logs above).

Things to fix:

a) kiwi should stop with an error if links are missing (Jan)
b) /boot/i386 must not be on x86_64-only isos (probably Christoph)
Comment 7 Christoph Thiel 2008-10-06 09:39:59 UTC
CCing Adrian, as he has to adress issue b) in comment #6.
Comment 8 Adrian Schröter 2008-10-06 14:47:19 UTC
b) is adressed in #432480
Comment 9 Jan-Christoph Bornschlegel 2008-10-07 16:28:45 UTC
b is fixed
Comment 10 Forgotten User PoQ9LLo9Cj 2008-10-23 19:56:19 UTC
I have tested the harddisk installation mode with the openSUSE 11.1 Beta 3:

I copied the contents of the openSUSE 11.1 Beta 3 DVD to a directory /opensuse on the ntfs partition of /dev/sda2.

I selected the harddisk installation mode from the boot menu.

I left the device option blank and set the directory to /opensuse.

After linux boot Linuxrc V3.3.11 started up. But there is a red box with a
error message:
"Could not find the openSUSE Repository
Activating manual setup program.

Then I tried to use the setup program to activated the harddisk installation
mode. But the setup program shows a similar error message.

I started the harddisk installation mode with the boot command line
hd:/opensuse
This time the harddisk installation mode worked without a problem.
(YAST2 started, I made my setup selections, package installation, hardware configuration, etc.)

I created Linucxrc log files for both installation situations with boot command line options:
linuxrc.debug=1 linuxrc.log=/foo

foo_boot_menu --> harddisk installation mode with
                  boot menu option
foo_cmd_line  --> harddisk installation mode with 
                  boot command line hd:/opensuse
                  saved after the start of YAST2
Comment 11 Forgotten User PoQ9LLo9Cj 2008-10-23 19:58:50 UTC
Created attachment 247624 [details]
linuxrc log file as foo_boot_menu

Log file of linuxrc with activation of harddisk installation mode with boot menu option.
Comment 12 Forgotten User PoQ9LLo9Cj 2008-10-23 20:00:28 UTC
Created attachment 247625 [details]
Log file linuxrc as foo_cmd_line

Log file linuxrc for activation of harddisk installation mode with boot command line hd:/opensuse
Comment 13 Forgotten User PoQ9LLo9Cj 2008-11-04 22:19:34 UTC
Created attachment 249801 [details]
linuxrc log file as foo

I have tested the harddisk installation mode with the openSUSE 11.1 Beta 4:

I copied the contents of the openSUSE 11.1 Beta 4 DVD to a directory /opensuse
on the ntfs partition of /dev/sda2.

I have started the installation with boot command line
install=hd:/opensuse linuxrc.debug=1 linuxrc.log=/foo

After linux boot Linuxrc V3.3.12 started up. But there is a red box with a
error message:
"Could not find the openSUSE Repository
Activating manual setup program.
Comment 14 Jan-Christoph Bornschlegel 2008-11-05 09:38:06 UTC
This issue with missing packages from /boot/<arch> is fixed in kiwi-instsource now, but unfortunately not soon enough for beta4.

I'll close this for now. If the same thing happens again on beta4plus, please reopen.
Comment 15 Forgotten User PoQ9LLo9Cj 2008-11-15 09:19:34 UTC
Created attachment 252451 [details]
linuxrc log file as foo

I have tested the harddisk installation mode with the openSUSE 11.1 Beta 5:

I copied the contents of the openSUSE 11.1 Beta 5 DVD to a directory /opensuse
on the ntfs partition of /dev/sda2.

I have started the installation with boot command line
install=hd:/opensuse linuxrc.debug=1 linuxrc.log=/foo

After linux boot Linuxrc V3.3.15 started up. 

First there is a gray messagebox with
"file:/var/adm/mount/boot/i386/branding: SHA1 sum wrong
If you really trust your repository, you may continueing in a insecure mode."

I hit OK and then there is a red box with a error message:
"Could not find the openSUSE Repository
Activating manual setup program.
Comment 16 Forgotten User PoQ9LLo9Cj 2008-11-15 09:21:47 UTC
I forgot to reopen bug.
Comment 17 Forgotten User PoQ9LLo9Cj 2008-11-29 15:28:39 UTC
Created attachment 256742 [details]
linuxrc log file as foo

I have tested the harddisk installation mode with openSUSE-11.1-RC1-DVD-i586.iso.

I have still the same problem.
Comment 18 michel munnix 2008-12-06 14:13:12 UTC
I had the same issue.
To continue testing, I tried following workaround after looking to the online repository :
created the symbolic link "branding" to the file "openSUSE" in the same directory.
There is an other missing symbolic link: named initrd-xenpae and pointing to initrd-xen

After that, welcome page opens
Comment 19 Jan-Christoph Bornschlegel 2009-01-27 09:44:02 UTC
Sorry for not replying for such a long time.
The issue with the missing links under /boot/<arch> is finally fixed with kiwi-3.09 which was submitted yesterday.

I'll look into the problem anyway as soon as time permits. As a quick guess, I think the branding link is part of the installation-images package; maybe it was unpacked incorrectly.

Volker, it would be very interesting if this still happened with GM.

Cheers
Comment 20 Forgotten User PoQ9LLo9Cj 2009-01-28 18:30:17 UTC
Created attachment 268403 [details]
linuxrc log file as foo

I have tested the harddisk installation mode with
openSUSE-11.1-DVD-i586.iso (openSUSE 11.1 GM)

with boot command line
install=hd:/opensuse linuxrc.debug=1 linuxrc.log=/foo

DVD contents in directory /opensuse on ntfs partition of /dev/sda2

I have the same problem.
Comment 23 Philippe Duchenne 2009-04-12 21:58:25 UTC
(If it can help...)

I'm also trying to update from 11.0 to 11.1 (harddisk installation).

I've copied the files from openSUSE-11.1-DVD-i586.iso to a 6Gb ext3 partition (disk 1, partition 3).  I boot that partition using Grub with the following settings in menu.lst :
[code]
title openSUSE 11.1 - Install disk
    kernel (hd0,2)/boot/i386/loader/linux splash=silent showopts
    initrd (hd0,2)/boot/i386/loader/initrd
[/code]

The installation process runs fine up to the point I select 'Update' from the Installation Mode.  Then I have an error saying that /var cannot be mounted.
(See bug #494240 for details.)
Comment 24 Jean-Philippe Leboeuf 2009-04-21 08:11:35 UTC
I confirm what was said by Michel Munnix <https://bugzilla.novell.com/show_bug.cgi?id=428924#c18>.

In order to make my Unetbootin-started VNC-remoted SMB-networked OpenSUSE 11.1 (final release) installation succeed, I had to create the aforementioned symbolic links (to create a symbolic link on Windows, just copy the file which has to be pointed, and rename it with the name of the symbolic link): 
- "branding" -> "openSUSE",
- "initrd-xenpae" -> "initrd-xen".
In fact the "branding" and "initrd-xenpae" files already exist but are null-sized.
The difference can be seen by comparing the boot/i386 directory inside openSUSE 11.1 ISOs and the online directory <http://download.opensuse.org/distribution/11.1/repo/oss/boot/i386/>.

It will fix the following installation error message: "Starting hardware detection...modprobe: FATAL: Could not load /lib/modules/2.6.27.7-9-default/modules.dep: No such file or directory".
Comment 25 Forgotten User PoQ9LLo9Cj 2009-04-29 19:13:29 UTC
I tried to install openSUSE 11.2-Milestone1 32bit (openSUSE-DVD-Build0066-i586.iso) to my Toshiba Satellite Pro A300 using the harddisk installation mode.

It seems that this problem has been fixed, since the Yast2 installer start up without a problem. However there is an other error message from Yast2 later:

"Bug 402513 - yast2 installation fails using a external harddisk as installation source"
https://bugzilla.novell.com/show_bug.cgi?id=402513
Comment 26 Forgotten User PoQ9LLo9Cj 2009-07-03 15:02:31 UTC
I tested the harddisk install mode with openSUSE 11.2-Milestone3 32bit (openSUSE-DVD-Build0146-i586.iso) with my Toshiba Satellite Pro A300.

It seems that my reported problem has been fixed, since the Yast2 installer start up without a problem.

Mybe this report can be set to status 'resolved'-'fixed'?
Comment 27 Forgotten User PoQ9LLo9Cj 2009-07-30 16:47:43 UTC
Created attachment 309441 [details]
linuxrc log file as foo

I tested the harddisk install mode with openSUSE 11.2-Milestone4 32bit
(openSUSE-DVD-Build0180-i586.iso) with my Toshiba Satellite Pro A300.

I have copied the contents of the DVD to a directory /opensuse of hardisk /dev/sda2.

I started the openSUSE installer with boot command line
install=hd:/opensuse linuxrc.debug=1 linuxrc.log=/foo

After linux boot Linuxrc started up there is a red box with a
error message:
"Could not find the openSUSE Repository
Activating manual setup program.

Start output of fdisk -l ========================================
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xe84d8247

   Device Boot      Start         End      Blocks   Id  System
/dev/sda2   *           1       19457   156288321    7  HPFS/NTFS

Disk /dev/sdb: 160.0 GB, 160041885696 bytes
64 heads, 63 sectors/track, 77525 cylinders
Units = cylinders of 4032 * 512 = 2064384 bytes
Disk identifier: 0xf7f62e22

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1       77525   156290368+   7  HPFS/NTFS
End output of fdisk -l ========================================
Comment 28 Forgotten User PoQ9LLo9Cj 2009-07-30 16:55:30 UTC
Setting Status to 'reopen'.
Comment 29 Steffen Winterfeldt 2009-08-26 09:50:46 UTC
Uh, the topic seems to have migrated a lot here. Volker, please don't do that.
Rather, open a new bug instead.

Anyway, if this is now about ntfs not working, see bug 518724.
Comment 30 Forgotten User PoQ9LLo9Cj 2009-09-10 19:45:25 UTC
Created attachment 317719 [details]
linuxrc log file as foo

I have retried to use the harddisk installation mode with openSUSE 11.2 Milestone 7 32 bit (openSUSE-DVD-Build0268-i586.iso) and I get the same error message.

I switched from linuxrc to the console, created a temp directory and mounted /dev/sda2 to it. After switching to the temp directory the command 'ls' showed me the correct content of the windows drive, including the opensuse directory.
Comment 31 Steffen Winterfeldt 2009-09-11 10:15:01 UTC
Apparently the /boot/i386/branding link points to nowhere. Please check
that you copied the repo correctly.
Comment 32 Forgotten User PoQ9LLo9Cj 2009-09-11 12:16:41 UTC
Well, I have extracted the dvd iso with the compression program 7z directly to the folder /opensuse on the ntfs partition on windows.

I mounted the ntfs partition and the OpenSUSE DVD directly to temporary mount points and i checked /boot/i386/branding with ls -l.

On the ntfs partition ls -l:
-rwxrwxrwx    1 0        0               0 Sep  9 03:18 branding

On the OpenSUSE DVD ls -l:
lrwxrwxrwx    1 98       98              8 Sep  9 09:07 branding -> openSUSE

It seems to me, that the symbolic links got lost during the extration process and Yast2 needs those symbolic links to find the proper files.
Comment 33 Jean-Philippe Leboeuf 2009-09-11 12:56:51 UTC
See my comment? <https://bugzilla.novell.com/show_bug.cgi?id=428924#c24>
Comment 34 Steffen Winterfeldt 2009-09-11 13:03:08 UTC
Not to mess things up further here I've created bug 538390 for the
link business.