|
1636.
|
|
|
\marginnote{The device (\filepath{/dev/sda1}, \filepath{/dev/sda2}, etc.) we are looking for is identified by the word ``Linux'' in the System column. Modify the instructions below if necessary, replacing \filepath{/dev/sda1} with the name of your Linux device.} This output shows that your system (Linux, on which Ubuntu is based) is installed on device \filepath{/dev/sda1}, but as indicated by the asterisk in the Boot column, your computer is booting to \filepath{/dev/sda2} (where Windows is located). We need to fix this by telling the computer to boot to the Linux device instead.
|
|
|
type: document
|
|
|
|
(no translation yet)
|
|
|
|
Located in
./troubleshooting/troubleshooting.tex
:61
|
|
1637.
|
|
|
To do this, create a place to connect your existing Ubuntu installation with your temporary troubleshooting session:
|
|
|
type: document
|
|
|
|
(no translation yet)
|
|
|
|
Located in
./troubleshooting/troubleshooting.tex
:63
|
|
1638.
|
|
|
\prompt \userinput{sudo mkdir /mnt/root}
|
|
|
type: terminal
|
|
|
|
(no translation yet)
|
|
|
|
Located in
./troubleshooting/troubleshooting.tex
:67
|
|
1639.
|
|
|
Next, link your Ubuntu installation and this new folder:
|
|
|
type: document
|
|
|
|
(no translation yet)
|
|
|
|
Located in
./troubleshooting/troubleshooting.tex
:69
|
|
1640.
|
|
|
\prompt \userinput{sudo mount /dev/sda1 /mnt/root}
|
|
|
type: terminal
|
|
|
|
(no translation yet)
|
|
|
|
Located in
./troubleshooting/troubleshooting.tex
:73
|
|
1641.
|
|
|
If you've done this correctly, then you should see the following:
|
|
|
type: document
|
|
|
|
(no translation yet)
|
|
|
|
Located in
./troubleshooting/troubleshooting.tex
:75
|
|
1642.
|
|
|
\prompt \userinput{ls /mnt/root} bin dev home lib mnt root srv usr boot etc initrd lib64 opt sbin sys var cdrom initrd.img media proc selinux tmp vmlinuz
|
|
|
type: terminal
|
|
|
|
(no translation yet)
|
|
|
|
Located in
./troubleshooting/troubleshooting.tex
:82
|
|
1643.
|
|
|
Now, you can reinstall \acronym{GRUB}:
|
|
|
type: document
|
|
|
|
(no translation yet)
|
|
|
|
Located in
./troubleshooting/troubleshooting.tex
:84
|
|
1644.
|
|
|
\prompt \userinput{sudo grub-install -{}-root-directory=/mnt/root /dev/sda} Installation finished. No error reported.
|
|
|
type: terminal
|
|
|
|
(no translation yet)
|
|
|
|
Located in
./troubleshooting/troubleshooting.tex
:88
|
|
1645.
|
|
|
This is the contents of the device map /boot/grub/device.map. Check if this is correct or not. If any of the lines is incorrect, fix it and re-run the script \commandlineapp{grub-install}. (hd0) /dev/sda
|
|
|
type: terminal
|
|
|
|
(no translation yet)
|
|
|
|
Located in
./troubleshooting/troubleshooting.tex
:94
|