You are not logged in.

#1 2014-09-07 16:37:12

Krobar
Member
Registered: 2014-04-12
Posts: 17

Change of boot device - How do I update the location

Sorry if this is a bit of a noob question. I added a new raid array to my setup but it appears to put the raid controller devices before the built-in sata controller. The outcome is that the boot drive has changed from sdd1 to sde1. How can I update this? At the moment I get put into an emergency prompt on bootup if the new array is present. My FSTab looks like below:
#
# /etc/fstab: static file system information
#
# <file system> <dir>   <type>  <options>       <dump>  <pass>
# /dev/sdd1
UUID=2799df36-8bb8-4bb2-b057-b1e83b1ac882       /               ext4           rw,relatime,data=ordered 0 1

# /dev/sdd2
UUID=897d6e22-8309-4dd7-89e3-2b37ae574f0e       /home           ext4           rw,relatime,data=ordered 0 2

/dev/sda        /mnt/data1      ext4    rw,relatime,data=ordered        0 2
/dev/sdb        /mnt/data4       ext4    rw,relatime,data=ordered        0 2
/dev/sdc        /mnt/data3       ext4    rw,relatime,data=ordered        0 2

Offline

#2 2014-09-07 16:46:35

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: Change of boot device - How do I update the location

It appears you are using UUIDs for your root and home.  They should take care of themselves once you are booted.  I think your issue is what is happening in the boot loader.
You need to configure your boot loader to start from sde1.  You should consider using UUID there as well.

What boot loader do you use?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2014-09-07 17:05:54

Krobar
Member
Registered: 2014-04-12
Posts: 17

Re: Change of boot device - How do I update the location

ewaller wrote:

It appears you are using UUIDs for your root and home.  They should take care of themselves once you are booted.  I think your issue is what is happening in the boot loader.
You need to configure your boot loader to start from sde1.  You should consider using UUID there as well.

What boot loader do you use?

Thanks for the reply. I think it Syslinux (Which I know very little about):
ls /boot
initramfs-linux-fallback.img  initramfs-linux.img  syslinux  vmlinuz-linux

Offline

#4 2014-09-07 17:30:10

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: Change of boot device - How do I update the location

You need to edit your /boot/syslinux/syslinux.cfg.  Find the "APPEND" clauses and fix them accordingly.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#5 2014-09-07 18:23:29

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Change of boot device - How do I update the location

Not an Installation issue, moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2014-09-07 18:55:07

Krobar
Member
Registered: 2014-04-12
Posts: 17

Re: Change of boot device - How do I update the location

Thanks Ewaller; that did the trick.

Offline

#7 2014-09-07 19:19:14

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: Change of boot device - How do I update the location

Please mark as solved.

Offline

Board footer

Powered by FluxBB