Grub-install /dev/sda /dev/sdb




















The purpose of a boot sector is to allow the boot process of a computer to load a program stored on the same storage device. A Master Boot Record MBR is a special type of boot sector at the very beginning of partitioned computer mass storage devices like fixed disks or removable drives intended for use with IBM PC-compatible systems and beyond. The MBR holds the information on how the logical partitions, containing file systems, are organized on that medium.

MBRs are not present on non-partitioned media like floppies, superfloppies or other storage devices configured to behave as such. The ext4 or fourth extended filesystem is a journaling file system for Linux, developed as the successor to ext3. A file system or filesystem is a means to organize data expected to be retained after a program terminates by providing procedures to store, retrieve and update data as well as manage the available space on the device s which contain it.

You have to install grub by showing the system where to read the data from the hard disk at the beginning. Replace it by whatever the command sudo fdisk -l command showed you. I would not expect to see this and it makes me wonder if there is a problem with your computer's hard drive. Would you please post more information about your hardware? You could do this by booting into Try Ubuntu with your install CD and then adding the output from the two commands below to your question.

You can then add this to your question by using the LiveCD's Firefox browser to edit it and then pasting the command output into the question's edit window in the browser. Please do not use comments to add the output from the commands. Comments are not intended to be used that way. If you are experiencing problems with graphics, then I suggest you first verify that your install media CD is OK.

To display this menu, press any key after booting your install CD and while the Ubuntu " small logo " is displayed at the bottom of your screen. If your install CD is valid, and therefore not the source of the graphics errors you are seeing, then you might want to try installing using the Ubuntu alternate install CD.

It performs a text based install which avoids potential problems with graphics drivers. It also contains some hardware drivers which are missing from the standard LiveCD. If your hardware is old then you probably want to use the bit version, ubuntu I had this same problem earlier today when trying to clean install from a USB drive.

I burned the ISO to a disc and did a clean install from there and it worked fine. I know that doesn't really solve the problem but it might prove to be a quick fix if that's all you're after. This may sound silly but if you had an mdadm array the partitions may have gotten messed up.

Because of mdadm arrays running your partition table will be empty despite the install succeeding the kernel itself knows the partitions but grub does not understand what to do naturally. Ubuntu Community Ask! Sign up to join this community. The best answers are voted up and rise to the top.

Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Learn more. Ask Question. Asked 9 years, 7 months ago. You can also see that the major number is 8 and the minor numbers are used to access partitions 0 pointing to the whole disk. The 'b' in the beginning of each line tells that each of these is a special "block device" file.

As I said, the kernel creates the files dynamically "these days". It was not always like that and it is not like that on other Unix systems.

There, files would be created statically, and, the user would create or manipulate these files. See mknod man mknod for that. However, after you boot again, your custom files will disappear.

The second possibility is to change UDEV rules. The rules will be processed during system boot, and guarantee you a permanently consistent behavior. You will need to replace the original rules that would create sda with yours. How this works depends on your distribution. As I think this is a dangerous business for the novice, I will not explain you specific steps; the document I linked above will give you all information you need, and you should indeed read it all.

I have the same problem to exchange the sda and sdb disk name. I tried to write some similar udev rules with the above post on my own HP servers. I have ubuntu You can irrecoverable kill your data if you do not know what are you doing exactly, and if you need this answer, you likely do not. Note: I did not meet a single case in decades where it had been needed. So, devices are identified in the linux kernel not by their path, but by their major and minor number. There 8,0 are the major and minor numbers.

Dangers are much smaller if you do this in a chroot-ed containerized environment, where only your problematic app can see these overridden settings. Why don't you use UUID instead of relying on dynamic assignment? As far as I know it's not possible. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Podcast Making Agile work for data science. Stack Gives Back Featured on Meta. New post summary designs on greatest hits now, everywhere else eventually. Related 1.

Hot Network Questions. Question feed. Ask Ubuntu works best with JavaScript enabled.



0コメント

  • 1000 / 1000