Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have no monitor and I'm planning to do this:

  1. Install Ubuntu server on laptop.
  2. Move HDD to headless server (hoping it will work).

Is there anything I should worry about?

I imagine that I need to check /etc/fstab to make sure that the right HDD is mounted on startup because on the laptop it might have a different name than on the server.

share|improve this question
add comment

3 Answers 3

up vote 1 down vote accepted

Also, I think the new network card will get a different interface name, so it would be a good idea to prepare for that. For example add auto eth1 and iface eth1 inet dhcp to /etc/netork/interfaces, if you have an eth0 named interface in your notebook, and you want your headless server to get an IP via DHCP.

share|improve this answer
add comment

Nope, don't think you'll need to modify fstab. Partitions are mounted by their UUIDs, not by names, so, no problems there. If there are several HDD (physical hard disk devices) on the server, you may need to reinstall GRUB.

share|improve this answer
    
ubuntu with GRUB will gon on usb. Which is first device to boot from selected in bios. server has sataii 1tb drive> Do I still need to reinstall grub? Since I don't have monitor, how do I do that? –  Sandro Dzneladze Oct 14 '11 at 9:03
    
It depends on what other devices are present on both the laptop and the server. For example, one of my laptops has an SD card slot which is recognized as /dev/sdb, and so a USB device will become /dev/sdc. These are important to GRUB and may not be the same on different computers. If a mismatch happens, it's going to be tough figuring it out without a monitor. –  mikewhatever Oct 14 '11 at 9:19
    
If I disconnect everything extra from laptop and server. And than attach usb + server 1tb hdd to laptop install like this. And than move both to server, in theory it shouldn't get confused anymore? p.s. laptop sd card is reconginzed as /mbgl901 so I doubt that will change anything. –  Sandro Dzneladze Oct 14 '11 at 9:36
add comment

You shouldn't use device names for filesystems in /etc/fstab. You should use UUIDs instead. That way, the system will work fine if /dev/sda3 becomes /dev/sdb3 for instance. In any case, if this is a single-disk system, it won't matter at all, as long as the BIOS knows which disk to boot from. You may want to setup a static IP address, though, since the new network interface will probably mean you'll get a different IP address. Other than that, I don't think you should have any problems just moving the disk.

share|improve this answer
    
Thanks. Yes I get it, good tip to use UUIDS. it isnt a single disk system, I also have second hdd 1tb. I run ubuntu from usb. –  Sandro Dzneladze Oct 14 '11 at 9:37
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.