Kan inte boota på hårdisk efter raid server installation

tenecofritte
Inlägg: 9
Blev medlem: 19 feb 2008, 13:09
Ort: Göteborg

Kan inte boota på hårdisk efter raid server installation

Inlägg av tenecofritte »

Jag har installerat Ubuntu 7.xx på en raidad server efter följande instruktioner
https://help.ubuntu.com/community/Insta ... erWithRAID
Det är bara så att jag får problem med att boota från hårddiskarna, dvs det går inte.
Jag kan boota från en LiveCD dock.

Är det någon som vet om det skall vara hd1 på alla steg
eller skall det vara hd1, hd2, hd3? (se text markerat med rött)

Configuring GRUB
At this point, I ended up having to use a regular Ubuntu LiveCD to reboot my system onto, because I had some issues getting Ubuntu to boot to my new setup. It's entirely possible (likely, almost) that it was because I was attempting to boot to the wrong drive, but you may run into this issue for other reasons. So, try to reboot to your brand new install, and if that fails reboot using a regular Ubuntu LiveCD. (If your reboot works w/o the LiveCD, edit this and let us know. Thanks.)
After rebooting, open up a terminal and run  sudo grub  to open up the GRUB console. From here, we want to install GRUB into the master boot record (MBR) of each drive that contains our root file system, for redundancy. So, to find the devices that have the root file system, type  find /boot/grub/stage1  (If you partitioned the system with a separate boot partition, omit /boot/). You should be looking at list of three devices, like this
  (hd1,0)
  (hd2,0)
  (hd3,0)
The numbers may be different, that doesn't matter. So, we will take the first device from the list and use that one to work with.
Recalling that our root system is installed on /dev/sda, /dev/sdb, and /dev/sdc, we will install grub using the following instructions:

device (hd1) /dev/sda
root (hd1,0)
setup (hd1)
device (hd1) /dev/sdb
root (hd1,0)
setup (hd1)
device (hd1) /dev/sdc
root (hd1,0)
setup (hd1)

This tells GRUB to define each drive as (hd1), set root to the first partition on that drive,
and then install GRUB into the MBR. Now the system can boot from any of the three drives in the array.

Tacksam för enkla svar då jag inte kan så mycket om detta
/Fritte
Användarvisningsbild
ThinLizzy
Inlägg: 675
Blev medlem: 13 jun 2006, 14:42
OS: Ubuntu
Utgåva: 22.04 Jammy Jellyfish LTS
Ort: Malmö

SV: Kan inte boota på hårdisk efter raid server installation

Inlägg av ThinLizzy »

vet ej hur dina partitioner ligger, men sda borjar på hda0,x
tenecofritte
Inlägg: 9
Blev medlem: 19 feb 2008, 13:09
Ort: Göteborg

SV: Kan inte boota på hårdisk efter raid server installation

Inlägg av tenecofritte »

Om jag skriver find /boot/grub/stage1 i en terminal så får jag fram följande.

(hd0,0)
(hd1,0)
(hd2,0)

Och då är min fråga, vad skall jag skriva sen?
Bowmore
Inlägg: 6212
Blev medlem: 28 mar 2007, 23:01
OS: Ubuntu
Ort: Stockholm

SV: Kan inte boota på hårdisk efter raid server installation

Inlägg av Bowmore »

I beskrivningen var (hd0,0) den tomma IDE-disken.

Eftersom du inte har en IDE så bör det i ditt fall bli

device (hd0) /dev/sda
root (hd0,0)
setup (hd0)

:
osv
tenecofritte
Inlägg: 9
Blev medlem: 19 feb 2008, 13:09
Ort: Göteborg

SV: Kan inte boota på hårdisk efter raid server installation

Inlägg av tenecofritte »

Ok, så du menar att jag skall skriva

device (hd0) /dev/sda
root (hd0,0)
setup (hd0)

device (hd0) /dev/sdb
root (hd0,0)
setup (hd0)

device (hd0) /dev/sdc
root (hd0,0)
setup (hd0)

/Fritte
Bowmore
Inlägg: 6212
Blev medlem: 28 mar 2007, 23:01
OS: Ubuntu
Ort: Stockholm

SV: Kan inte boota på hårdisk efter raid server installation

Inlägg av Bowmore »

Ja, så borde det bli.
tenecofritte
Inlägg: 9
Blev medlem: 19 feb 2008, 13:09
Ort: Göteborg

Re: Kan inte boota på hårdisk efter raid server installation

Inlägg av tenecofritte »

Det har löst sig.

Hur gör man för att markera som löst?
Skriv svar

Återgå till "För nybörjaren - inaktuell"