本帖最后由 jj20021223 于 2017-2-5 20:46 编辑
请教 按教程来后不行啊 付全过程
parted -l
Model: ATA WD5000 (scsi)
Disk /dev/sdd: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 2551MB 2550MB primary raid
2 2551MB 4699MB 2147MB primary raid
3 4832MB 500GB 495GB primary raid
执行
./disk_setboot.sh /dev/sdd ./boot602-8451.img
出现这些界面
Information: You may need to update /etc/fstab.
Information: You may need to update /etc/fstab.
65536+0 records in
65536+0 records out
33554432 bytes (34 MB) copied, 1.53675 s, 21.8 MB/s
Installation finished. No error reported.
This is the contents of the device map /mnt/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 `grub-install'.
parted -l
Model: ATA WD5000 (scsi)
Disk /dev/sdf: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 2551MB 2550MB primary raid
2 2551MB 4699MB 2147MB primary raid
4 4699MB 4832MB 133MB primary boot, lba
3 4832MB 500GB 495GB primary raid
Model: Linux Software RAID Array (md)
Disk /dev/md0: 2550MB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 2550MB 2550MB ext4
Model: Linux Software RAID Array (md)
Disk /dev/md1: 2147MB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 2147MB 2147MB linux-swap(v1)
Error: /dev/md2: unrecognised disk label
Model: Linux Software RAID Array (md)
Disk /dev/md2: 495GB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:
Model: Unknown (unknown)
Disk /dev/zram0: 2490MB
Sector size (logical/physical): 4096B/4096B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 2490MB 2490MB linux-swap(v1)
Model: Unknown (unknown)
Disk /dev/zram1: 2490MB
Sector size (logical/physical): 4096B/4096B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 2490MB 2490MB linux-swap(v1)
Model: Generic STORAGE DEVICE (scsi)
Disk /dev/synoboot: 3965MB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 32.5MB 31.5MB fat16 boot boot, esp
2 32.5MB 48.2MB 15.7MB fat16 recovery
3 48.2MB 52.4MB 4177kB legacy bios_grub
(hd0) /dev/sda
(hd1) /dev/sdb
(hd2) /dev/sdc
(hd3) /dev/sdd
(hd4) /dev/sde
Generate hard disk bootloader successful
|