Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Need some help with 2nd disk in new datashack server
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Need some help with 2nd disk in new datashack server

sinsin Member

Hey guys

I got my first Datashack server yesterday and it came with 2x 250gb disks. I formatted disk2 and set it to mount automatically to /disk2 on the next boot and I rebooted my server...I couldn't connect via ssh afterwards and eventually put in a ticket to Datashack, 20 minutes later (fantastic response time for a budget server!) they replied saying my server was back online and it appeared that the BIOS was trying to boot from disk2 (sdb) instead of sda.

Now I'm afraid to reboot my server to make sure it works correctly lol, is there a way I can check what order the disks will boot in or something? I'm using Debian Jessie btw.

Here's my /etc/fstab


proc /proc proc defaults 0 0
UUID=4757b8fb-0f01-496c-97b6-4816eddb6cb4 / ext4 errors=remount-ro 0 1
UUID=c4f2a876-7ba1-4c45-8a87-d60b8b78d5ce /boot ext4 defaults 0 2
UUID=9390af99-db73-4011-8379-48bb26768b10 none swap sw 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
UUID=fefab760-3148-473a-9f3c-0ddfb870f075 /disk2 ext4 errors=remount-ro 0 1

The last line is what I added myself to automatically mount that 2nd disk at boot

and my disks:

Disk /dev/sdb: 232.9 GiB, 250000000000 bytes, 488281250 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
Disklabel type: dos
Disk identifier: 0xbaebe88b

Device Boot Start End Sectors Size Id Type
/dev/sdb1 2048 488281249 488279202 232.8G 83 Linux

Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 391167 389120 190M 83 Linux
/dev/sda2 393214 488280063 487886850 232.7G 5 Extended
/dev/sda5 393216 4390911 3997696 1.9G 82 Linux swap / Solaris
/dev/sda6 4392960 488280063 483887104 230.8G 83 Linux

Comments

  • I would say if it was trying to boot from the second disk then the boot order in the Bios was in the wrong order.

    I would reply to the ticket asking if was a Bios boot order, and did they now correct this?

    Before formating the disk the Bios would have skipped the disk and tried the next in the boot order.

  • just ask datashack to do it for you, its better than having them fix everything you are breaking.

  • sinsin Member

    @AshleyUk said:
    I would say if it was trying to boot from the second disk then the boot order in the Bios was in the wrong order.

    I would reply to the ticket asking if was a Bios boot order, and did they now correct this?

    Before formating the disk the Bios would have skipped the disk and tried the next in the boot order.

    Okay thanks that's what I figured :)

  • sinsin Member

    Update: I rebooted and it looks like Datashack did fix the disk boot order so now everything works perfect and it boots from the 1st hd instead of trying to load hd2 first :) really loving this $25 server and I was blown away by the fast support I received last night.

  • ZshenZshen Member

    You can always request a KVM. They will hook it up for you temporarily if you need to correct boot issues. Really enjoyed my DataShack server when I had it.

  • Install grub on the 2nd disk? "grub-install /dev/sdb"

  • Its true datashack offers a fantastic service for the price :)

Sign In or Register to comment.