Skip to content

Instantly share code, notes, and snippets.

@2called-chaos
Created June 28, 2013 14:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 2called-chaos/3976370be682cea751f8 to your computer and use it in GitHub Desktop.
Save 2called-chaos/3976370be682cea751f8 to your computer and use it in GitHub Desktop.
Hetzner Online AG - installimage
Your server will be installed now, this will take some minutes
You can abort at any time with CTRL+C ...
: Reading configuration done
1/15 : Deleting partitions done
2/15 : Test partition size done
3/15 : Creating partitions and /etc/fstab done
4/15 : Creating software RAID level 1 done
5/15 : Creating LVM volumes busy No volume groups found
done
6/15 : Formatting partitions
: formatting /dev/md/0 with ext2 done
: formatting /dev/md/2 with ext4 done
: formatting /dev/vg0/root with ext4 done
: formatting /dev/vg0/swap with swap done
: formatting /dev/vg0/tmp with ext4 done
: formatting /dev/vg0/home with ext4 done
7/15 : Mounting partitions failed
An error occured while installing the new system!
See the debug file /root/debug.txt for details.
Please check our wiki for a description of the error:
http://wiki.hetzner.de/index.php/Betriebssystem_Images_installieren
If your problem is not described there, try booting into a fresh
rescue system and restart the installation. If the installation
fails again, please contact our support via Hetzner Robot, providing
the IP address of the server and a copy of the debug file.
https://robot.your-server.de
root@rescue ~ # cat /root/debug.txt
[15:13:51] # starting installimage on [ 88. ]
[15:13:51] -------------------------------------
[15:13:51] : Hardware data:
[15:13:51] : CPU1 Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz (Cores 8)
[15:13:51] : RAM 31888 MB
[15:13:51] : Disk /dev/sda doesn't contain a valid partition table (=> /dev/sda doesn't)
[15:13:51] : Disk /dev/sdb doesn't contain a valid partition table (=> /dev/sdb doesn't)
[15:13:51] : Disk /dev/sda: 3000.6 GB (=> 2861 GIB)
[15:13:51] : Disk /dev/sdb: 3000.6 GB (=> 2861 GIB)
[15:13:51] -------------------------------------
[15:13:51] # make clean config
[15:13:51] # executing setupfile
[15:13:51] # checking if the script is disabled
[15:13:51] # starting menu...
[15:16:07] # chosen image: [ Ubuntu-1204-precise-64-minimal-no-hwe ]
[15:16:07] # copy & create config...
[15:16:14] # starting mcedit...
[15:17:54] # validating vars...
[15:17:54] : swap : 16384
[15:17:54] : /boot : 512
[15:17:54] : / : 1048576
[15:17:54] : /home : all
[15:17:54] : check_dos_partitions
[15:17:54] # asking for confirmation...
[15:17:57] # Confirmation for drive /dev/sda NOT accepted
[15:17:57] # starting menu...
[15:18:03] # chosen image: [ Ubuntu-1204-precise-64-minimal ]
[15:18:03] # copy & create config...
[15:18:05] # starting mcedit...
[15:45:27] # validating vars...
[15:45:27] : /boot : 512
[15:45:27] : lvm : all
[15:45:28] : check_dos_partitions
[15:45:28] # asking for confirmation...
[15:45:30] # Confirmation for drive /dev/sda accepted
[15:45:35] # Confirmation for drive /dev/sdb accepted
[15:45:35] # executing installfile...
[15:45:35] : /boot : 512
[15:45:35] : lvm : all
[15:45:35] : check_dos_partitions
[15:45:35] # load ubuntu specific functions...
[15:45:35] # Deleting partitions
[15:45:35] # Deleting partitions on /dev/sda
[15:45:37] # Deleting partitions on /dev/sdb
[15:45:38] # Test partition size
[15:45:38] : using GPT (drive size bigger then 2TB or requested)
[15:45:38] : check_dos_partitions
[15:45:38] # Creating partitions and /etc/fstab
[15:45:38] # Creating partitions on /dev/sdb
[15:45:38] : deactivate all dm-devices with dmraid and dmsetup
[15:45:39] : no raid disks
[15:45:42] : The operation has completed successfully.
[15:45:43] : The operation has completed successfully.
[15:45:43] : Creating BIOS_GRUB partition
[15:45:44] : The operation has completed successfully.
[15:45:44] : reread partition table after 5 seconds
[15:45:49] : deactivate all dm-devices with dmraid and dmsetup
[15:45:49] : no raid disks
[15:45:49] # Creating partitions on /dev/sda
[15:45:49] : deactivate all dm-devices with dmraid and dmsetup
[15:45:49] : no raid disks
[15:45:53] : The operation has completed successfully.
[15:45:54] : The operation has completed successfully.
[15:45:54] : Creating BIOS_GRUB partition
[15:45:55] : The operation has completed successfully.
[15:45:55] : reread partition table after 5 seconds
[15:46:00] : deactivate all dm-devices with dmraid and dmsetup
[15:46:00] : no raid disks
[15:46:00] # Creating software RAID level 1
[15:46:00] # create software raid array(s)
[15:46:00] : Line is: "proc /proc proc defaults 0 0"
[15:46:00] : metadata for boot is: "--metadata=1.2"
[15:46:00] : Line is: "/dev/sda1 /boot ext2 defaults 0 0"
[15:46:00] : metadata for boot is: "--metadata=1.2"
[15:46:01] : Line is: "# /dev/sda2 belongs to LVM volume group 'vg0'"
[15:46:01] : metadata for boot is: "--metadata=1.2"
[15:46:01] : Line is: "/dev/sda3 / ext4 defaults 0 0"
[15:46:01] : metadata for boot is: "--metadata=1.2"
[15:46:01] # Creating LVM volumes
[15:46:01] # Removing all Logical Volumes and Volume Groups
[15:46:01] # Removing all Physical Volumes
[15:46:01] # Creating PV /dev/md1
[15:46:01] : Physical volume "/dev/md1" successfully created
[15:46:01] # Creating VG vg0 with PV /dev/md1
[15:46:01] : Volume group "vg0" successfully created
[15:46:01] # Creating LV vg0/root (524288 MiB)
[15:46:01] : Logical volume "root" created
[15:46:01] # Creating LV vg0/swap (16384 MiB)
[15:46:02] : Logical volume "swap" created
[15:46:02] # Creating LV vg0/tmp (10240 MiB)
[15:46:02] : Logical volume "tmp" created
[15:46:02] # Creating LV vg0/home (2097152 MiB)
[15:46:02] : Logical volume "home" created
[15:46:06] # formatting /dev/md/0 with ext2
[15:46:10] # formatting /dev/md/2 with ext4
[15:46:10] :
[15:46:10] : Filesystem too small for a journal
[15:46:14] # formatting /dev/vg0/root with ext4
[15:46:48] # formatting /dev/vg0/swap with swap
[15:46:49] : meta-data=/dev/vg0/swap isize=256 agcount=16, agsize=262144 blks
[15:46:49] : = sectsz=512 attr=2, projid32bit=0
[15:46:49] : data = bsize=4096 blocks=4194304, imaxpct=25
[15:46:49] : = sunit=0 swidth=0 blks
[15:46:49] : naming =version 2 bsize=4096 ascii-ci=0
[15:46:49] : log =internal log bsize=4096 blocks=2560, version=2
[15:46:49] : = sectsz=512 sunit=0 blks, lazy-count=1
[15:46:49] : realtime =none extsz=4096 blocks=0, rtextents=0
[15:46:49] : 8+0 records in
[15:46:49] : 8+0 records out
[15:46:49] : 2048 bytes (2.0 kB) copied, 0.00840707 s, 244 kB/s
[15:46:49] : mkswap: /dev/vg0/swap: warning: don't erase bootbits sectors
[15:46:49] : on whole disk. Use -f to force.
[15:46:49] : Setting up swapspace version 1, size = 16777212 KiB
[15:46:49] : no label, UUID=19682a96-6ab0-4723-96c4-11505dd64a01
[15:46:53] # formatting /dev/vg0/tmp with ext4
[15:46:58] # formatting /dev/vg0/home with ext4
[15:49:21] # Mounting partitions
[15:49:21] : mount: special device /dev/md/2
[15:49:21] : /dev/vg0/root does not exist
[15:49:21] => FAILED
[15:49:21] # Cleaning up...
root@rescue ~ # mount /dev/vg0/root /mnt/
root@rescue ~ # cd /mnt/
root@rescue /mnt # ls
lost+found
root@rescue /mnt # vgdisplay
--- Volume group ---
VG Name vg0
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 5
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 4
Open LV 1
Max PV 0
Cur PV 1
Act PV 1
VG Size 2.73 TiB
PE Size 4.00 MiB
Total PE 715268
Alloc PE / Size 662016 / 2.53 TiB
Free PE / Size 53252 / 208.02 GiB
VG UUID gXaluo-3s1v-NJvR-UCJu-Tnev-pbbS-2Ai1qA
root@rescue /mnt # lvdisplay
--- Logical volume ---
LV Name /dev/vg0/root
VG Name vg0
LV UUID xzRmb1-L3u9-u1CI-OiOA-2aRr-4Mm3-krBu0N
LV Write Access read/write
LV Status available
# open 1
LV Size 512.00 GiB
Current LE 131072
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:0
--- Logical volume ---
LV Name /dev/vg0/swap
VG Name vg0
LV UUID oDuq8z-0xA1-dD6m-FKhG-H4XO-rG2b-y88ybc
LV Write Access read/write
LV Status available
# open 0
LV Size 16.00 GiB
Current LE 4096
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:1
--- Logical volume ---
LV Name /dev/vg0/tmp
VG Name vg0
LV UUID h8csv7-GRPe-Hisx-fiL6-OkXB-Eodq-imHCXN
LV Write Access read/write
LV Status available
# open 0
LV Size 10.00 GiB
Current LE 2560
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:2
--- Logical volume ---
LV Name /dev/vg0/home
VG Name vg0
LV UUID OhNXUI-zxdW-4kXa-H0xj-dgoA-RFlB-BDYJBu
LV Write Access read/write
LV Status available
# open 0
LV Size 2.00 TiB
Current LE 524288
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:3
root@rescue /mnt # vgdisplay
--- Volume group ---
VG Name vg0
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 5
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 4
Open LV 1
Max PV 0
Cur PV 1
Act PV 1
VG Size 2.73 TiB
PE Size 4.00 MiB
Total PE 715268
Alloc PE / Size 662016 / 2.53 TiB
Free PE / Size 53252 / 208.02 GiB
VG UUID gXaluo-3s1v-NJvR-UCJu-Tnev-pbbS-2Ai1qA
root@rescue /mnt # pvdisplay
--- Physical volume ---
PV Name /dev/md1
VG Name vg0
PV Size 2.73 TiB / not usable 1.31 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 715268
Free PE 53252
Allocated PE 662016
PV UUID K33yyA-6LBb-2PEe-pTwQ-cIKh-tn0a-uwszxC
root@rescue /mnt # pvscan
PV /dev/md1 VG vg0 lvm2 [2.73 TiB / 208.02 GiB free]
Total: 1 [2.73 TiB] / in use: 1 [2.73 TiB] / in no VG: 0 [0 ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment