How can we install Ubuntu server without the Problems?
How can we install Ubuntu server without the Problems?
* Problems of installation (for ubuntu-
1. Why do the following problems occur during installation? How would those problems be resolved?
(1) Why is not the Ethernet controller (Broadcom 57780) detected in the configuring of "Detect network hardware", and is not the device driver (tg3.ko) used?
When the installer's device driver (tg3.ko) is binary-compared with the installed device driver (tg3.ko), they are exactly the same.
When the system has been booted after installation, the network (eth0) can be enabled, and the device driver (tg3.ko) is used.
See "How to install Ubuntu server from iso file on HDD" and "System conditions" shown below.
(2) Why does the installer fail to download a file from the archive mirror (jp.archive.
If the network (eth0) can be enabled during installation, would that succeed?
When the system has been booted after installation, the network (eth0) can be enabled, and ping to the archive mirror (jp.archive.
See "System conditions" shown below.
(3) Why is the system powered off forcibly in the configuring of "Install or Enlist with Ubuntu MAAS Server"?
(4) Why is not a user name asked during creation of "a normal user account" in the configuring of "Set up users and passwords"?
(5) Why does the installer fail to download a file from the archive mirror (jp.archive.
This is similar to 1. (2).
(6) Why does the installation step fail in the configuring of "Build LTSP chroot"?
If the network (eth0) can be enabled during installation, would that succeed?
2. (How) is it possible to "make" (compile, build) the device driver (tg3.ko), and to let the installer load the driver?
(1) Why does it fail to "make" (compile, build) the device driver (tg3.ko)? How would this problem be resolved?
Are some packages missing? If so, which additional packages have to be installed?
See "make conditions" and "make.log" shown below.
(2) (How) is it possible to let the installer load the device driver (tg3.ko) in the configuring of "Load drivers from removable media" or "Detect virtual driver disks from hardware manufacturer"?
(How) does the device driver (tg3.ko) have to be packaged?
Even though the device driver (tg3.ko) was copied to the root directory of a partition on an external USB HDD, it was not loaded.
Note: See the following detailed informations.
Note: Refer to the following link for the Japanese edition.
https:/
* Hardware specifications (for FMV-BIBLO NF/G70)
http://
* Download #1 (for ubuntu-
https:/
Ubuntu Releases
http://
ubuntu-
http://
ubuntu-
https:/
Index of /ubuntu
http://
vmlinuz
http://
vmlinuz 6,403,032 bytes for utopic (Ubuntu 14.10), amd64, hd-media (FAT32 HDD), not gtk
initrd.gz
http://
initrd.gz 11,849,040 bytes for utopic (Ubuntu 14.10), amd64, hd-media (FAT32 HDD), not gtk
* menu.lst for Grub4dos
# Load grub2 installed in the PBR of /dev/sdb12
title ubuntu-
root (hd1,11) || root (hd0,11)
chainloader +1
title ISO file [\\LINUX\
ls /LINUX/
# Use vmlinuz (6,403,032 bytes) for utopic (Ubuntu 14.10), amd64, hd-media (FAT32 HDD), not gtk
# http://
#kernel /LINUX/
#kernel /LINUX/
#kernel /LINUX/
#kernel /LINUX/
kernel /LINUX/
#kernel /LINUX/
# Use initrd.gz (11,849,040 bytes) for utopic (Ubuntu 14.10), amd64, hd-media (FAT32 HDD), not gtk
# http://
initrd /LINUX/
* Batch to edit BCD for Grub4dos
@echo off
setlocal enabledelayedex
if "%~1"=="-d" (
for /F "usebackq tokens=1-2 delims={} " %%F in ("%~n0.log") do (
set _ST=
if not "%%~dpF"=="" set _ST= /store "%%~dpFBoot\BCD"
echo GUID {%%G} to be deleted in "%%~dpFBoot\BCD"
bcdedit!_ST! /delete {%%G}
)
if not !errorlevel!==0 echo Delete "%~n0.log" manually.
) else (
if "%~dp1"=="" echo Usage: %~n0 [-d^|C:\^|D:\^|..]
set _ST=
if not "%~dp1"=="" set _ST= /store "%~dp1Boot\BCD"
for /F "usebackq tokens=2 delims={}" %%G in (
`bcdedit!_ST! /create /d "Grub4dos @BT" /application bootsector`
) do (
echo "%~dp1" {%%G}>> "%~n0.log"
echo GUID {%%G} created in "%~dp1Boot\BCD"
bcdedit!_ST! /set {%%G} device boot
bcdedit!_ST! /set {%%G} path "\grldr.mbr"
rem bcdedit!_ST! /set {bootmgr} displayorder {%%G} /addlast
bcdedit!_ST! /set {bootmgr} displayorder {%%G} /addfirst
)
)
endlocal
* How to install Ubuntu server from iso file on HDD (main points only)
Warning:
In the case that grub2 has been installed in the PBR (Partition Boot Record), the installer may hang up during "Partitions formatting".
In this case, it may not hang up if pre-formatted with GParted etc.
GParted -- Download
http://
-? Choose language
--? Language:
--> English - English
--? Country, territory or area:
--> other
--? Continent or region:
--> Asia
--? Country, territory or area:
--> Japan
--? Country to base default locale setting on:
--> United States - en_US.UTF-8
--? Additional locales:
--> [Choose "ja_JP.EUC-JP", "ja_JP.UTF-8"]
--? System locale:
--> en_US.UTF-8
-? Load debconf preconfiguration file
[Skip if not to enter OEM mode]
-? Execute a shell
~# lspci | grep -i net
18:00.0 Ethernet controller: Broadcom Corporation NetLink BCM57780 Gigabit Ethernet PCIe (rev 01)
-? Detect network hardware
--- No Ethernet card was detected. ...
--? Driver needed by your Ethernet card:
--> none of the above
or
--> tg3: Broadcom Tigon3 Gigabit Ethernet [case of tg3]
-? Execute a shell
~# dmesg | grep mdio
[ 119.686746] libphy: tg3 mdio bus: probed
-? Choose a mirror of the Ubuntu archive
--? Protocol for file downloads:
--> http
--? Ubuntu archive mirror country:
--> Japan
--? Ubuntu archive mirror:
--> jp.archive.
-? Download installer components
--- The installer failed to download a file from the mirror. ...
--? Downloading a file failed:
--> Cancel
-? Install or Enlist with Ubuntu MAAS Server
[Skip, otherwise somehow powered off forcibly]
-? Set up users and passwords
--? Enable shadow passwords?
--> <Yes>
--? Allow login as root?
--> <Yes>
--? Create a normal user account now?
--> <No>
-? Detect disks
--- The installer failed to download a file from the mirror. ...
--? Downloading a file failed:
--> Cancel
-? Install the system
--? Type of installation:
--> normal
--? Kernel to install:
--> linux-generic [linux-headers-* included]
--? Drivers to include in the initrd:
--> generic: include all available drivers
[Execute as follows unless in OEM mode]
-? Execute a shell
~# nano /etc/network/
>
> auto eth0
> iface eth0 inet dhcp
~# cp /etc/network/
~# cmp /lib/modules/
-? Select and install software
--? How do you want to manage upgrades on this system?
--> No automatic updates
--? Download language support?
--> <Yes>
--? Choose software to install:
--> [Choose the items except for the "Mail server"]
-? Build LTSP chroot
--? Set up an LTSP chroot environment?
--> <Yes>
--- An installation step failed. ...
--> <Continue>
* Boot conditions
-? Ubuntu
-> Enter [to boot]
-> Ctrl+Alt+F1 [if the login prompt has not displayed]
-> Alt+PrtSc+
-? login:
* System conditions (for Broadcom 57780;tg3, 3.16.0-23-generic)
~# lspci | grep -i net
18:00.0 Ethernet controller: Broadcom Corporation NetLink BCM57780 Gigabit Ethernet PCIe (rev 01)
~# lshw -C network | grep driver
~# ping -c 4 jp.archive.
~# uname -srvmpio
Linux 3.16.0-23-generic #31-Ubuntu SMP Tue Oct 21 17:56:17 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
* Download #2 (for Broadcom 57780;tg3)
http://
Ethernet NIC Driver Downloads | Broadcom
http://
> NetLink 57xx
> Download drivers for the following current generation Ethernet chipsets:
> 5784, 5785, 57780, 57781, 57785, 57785x, 57788, 57790, 57791, 57795
Ethernet NIC NetLink Driver Downloads | Broadcom
http://
> Below you will find the latest drivers for Broadcom's NetLink Ethernet controllers:
> 5784, 5785, 57780, 57781, 57785, 57790, 57795
> Linux (tg3) 3.136h 08/19/14
Download Zip File
http://
linux-3.136h.zip 3,701,883 bytes
unzip-> tg3-3.136h.tar.gz 359,234 bytes
* make conditions (for 3.16.0-23-generic)
~# aptitude update
~# aptitude install make
~# aptitude install gcc
~# aptitude safe-upgrade linux-headers-
~# aptitude safe-upgrade linux-headers-
~# make clean
~# make > make.log 2>&1
* make.log (for Broadcom 57780;tg3, 3.16.0-23-generic)
sh makeflags.sh /lib/modules/
make -C /lib/modules/
make[1]: Entering directory '/usr/src/
CC [M] /home/ubuntu/
/home/ubuntu/
.get_rxfh_indir = tg3_get_rxfh_indir,
^
/home/ubuntu/
/home/ubuntu/
/home/ubuntu/
.set_rxfh_indir = tg3_set_rxfh_indir,
^
/home/ubuntu/
/home/ubuntu/
scripts/
make[2]: *** [/home/
Makefile:1345: recipe for target '_module_
make[1]: *** [_module_
make[1]: Leaving directory '/usr/src/
Makefile:91: recipe for target 'default' failed
make: *** [default] Error 2
Question information
- Language:
- English Edit question
- Status:
- Open
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask souhalt for more information if necessary.