webnils
October 1st, 2013, 09:46 PM
Hello!
I have searched but not found a solution to my problem in this forum, even there are threads on similiar topics. I'm a linux/ubuntu beginner (since a few hours) so I really hope someone can help.
I have just bought a HP ProLiant Microserver (N54L) that I plan to use as a LAMP-server. The dist I choosed is Ubuntu Server 12.04. I used Unetbootin (windows) to create a bootable USB.
I installed using the Install option (The Install Ubuntu Server option didn't work for some reason, complained about not being able to read from CD-ROM, which there is none, and that there was no ethernet card, which there is one, etc so I aborted the installation and tried again with the Install option that worked without any error messages.)
I choose to partition the entire disk but not with LVM (mainly due to that I'm not familiar with it), maybe this is was a mistake.
When I try to boot after installation was completed nothing happens. After some investigation I realise that the boot partition was installed on the USB drive while the rest was installed on the HDD. (I don't remember questions about where to install the boot partition, but I might just not paid enough attention). The server boots up fine when the USB drive is connected, however no GRUB or other loader is used, it just boots up directly to the prompt.
The partition scheme now looks like this.
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000dfb01
Device Boot Start End Blocks Id System
/dev/sda1 2048 476078079 238038016 83 Linux
/dev/sda2 476080126 488396799 6158337 5 Extended
/dev/sda5 476080128 488396799 6158336 82 Linux swap / Solaris
Disk /dev/sdb: 2005 MB, 2005925888 bytes
64 heads, 43 sectors/track, 1423 cylinders, total 3917824 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xc3072e18
Device Boot Start End Blocks Id System
/dev/sdb1 * 504 3917823 1958660 6 FAT16
obviosly, SDA being the HDD and SDB the USB drive
Now, how do I best fix this? Is there a simple way to do this without doing a complete reinstall? The server is headless (during installation I used a monitor however, but I prefer not to carry around any hardware again) so I now connect to it using putty and ssh from a windows laptop. I figure this might be a good lesson for me to learn some more linux.
I have searched but not found a solution to my problem in this forum, even there are threads on similiar topics. I'm a linux/ubuntu beginner (since a few hours) so I really hope someone can help.
I have just bought a HP ProLiant Microserver (N54L) that I plan to use as a LAMP-server. The dist I choosed is Ubuntu Server 12.04. I used Unetbootin (windows) to create a bootable USB.
I installed using the Install option (The Install Ubuntu Server option didn't work for some reason, complained about not being able to read from CD-ROM, which there is none, and that there was no ethernet card, which there is one, etc so I aborted the installation and tried again with the Install option that worked without any error messages.)
I choose to partition the entire disk but not with LVM (mainly due to that I'm not familiar with it), maybe this is was a mistake.
When I try to boot after installation was completed nothing happens. After some investigation I realise that the boot partition was installed on the USB drive while the rest was installed on the HDD. (I don't remember questions about where to install the boot partition, but I might just not paid enough attention). The server boots up fine when the USB drive is connected, however no GRUB or other loader is used, it just boots up directly to the prompt.
The partition scheme now looks like this.
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000dfb01
Device Boot Start End Blocks Id System
/dev/sda1 2048 476078079 238038016 83 Linux
/dev/sda2 476080126 488396799 6158337 5 Extended
/dev/sda5 476080128 488396799 6158336 82 Linux swap / Solaris
Disk /dev/sdb: 2005 MB, 2005925888 bytes
64 heads, 43 sectors/track, 1423 cylinders, total 3917824 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xc3072e18
Device Boot Start End Blocks Id System
/dev/sdb1 * 504 3917823 1958660 6 FAT16
obviosly, SDA being the HDD and SDB the USB drive
Now, how do I best fix this? Is there a simple way to do this without doing a complete reinstall? The server is headless (during installation I used a monitor however, but I prefer not to carry around any hardware again) so I now connect to it using putty and ssh from a windows laptop. I figure this might be a good lesson for me to learn some more linux.