|
我安装Ubuntu时: Device for boot loader installation: /dev/sda9 即:"/" 请问此处该如何选择?以前我一直是默认选择/dev/sda
ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 500.1 GB, 500107862016 bytes # /dev/sda: Hard Disk(硬盘) 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk identifier: 0x80a5a07f
Device Boot Start End Blocks Id System /dev/sda1 * 2048 209717247 104857600 7 HPFS/NTFS/exFAT # win7: D盘 /dev/sda2 209717248 419432447 104857600 7 HPFS/NTFS/exFAT # win7: E盘 /dev/sda3 419432448 850939903 215753728 7 HPFS/NTFS/exFAT # win7: F盘 /dev/sda4 850941950 976771071 62914561 5 Extended #这个应该是表示Ubuntu系统所占有的分区? Partition 4 does not start on physical sector boundary. /dev/sda5 850941952 851439615 248832 83 Linux # /boot /dev/sda6 851441664 863438847 5998592 82 Linux swap / Solaris # swap /dev/sda7 863440896 875438079 5998592 83 Linux # /usr /dev/sda8 875440128 887437311 5998592 83 Linux # /var /dev/sda9 887439360 903438335 7999488 83 Linux # / /dev/sda10 968773632 976771071 3998720 83 Linux # /home /dev/sda11 903440384 968767487 32663552 83 Linux # /tmp
Partition table entries are not in disk order
Disk /dev/sdb: 128.0 GB, 128032964608 bytes # /dev/sdb: SSD(固态盘) 255 heads, 63 sectors/track, 15565 cylinders, total 250064384 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0xc6942324
Device Boot Start End Blocks Id System /dev/sdb1 * 2048 125831167 62914560 7 HPFS/NTFS/exFAT # win7: C盘 /dev/sdb2 125831168 250058751 62113792 7 HPFS/NTFS/exFAT # win7: I盘
Disk /dev/sdc: 7849 MB, 7849115648 bytes 255 heads, 63 sectors/track, 954 cylinders, total 15330304 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0xcad4ebea
Device Boot Start End Blocks Id System /dev/sdc4 * 256 15330303 7665024 b W95 FAT32 # 此处表示什么?
ubuntu@ubuntu:~$ sudo parted -l print Model: ATA TOSHIBA MQ01ABF0 (scsi) Disk /dev/sda: 500GB Sector size (logical/physical): 512B/4096B Partition Table: msdos
Number Start End Size Type File system Flags 1 1049kB 107GB 107GB primary ntfs boot 2 107GB 215GB 107GB primary ntfs 3 215GB 436GB 221GB primary ntfs 4 436GB 500GB 64.4GB extended 5 436GB 436GB 255MB logical ext4 6 436GB 442GB 6143MB logical linux-swap(v1) 7 442GB 448GB 6143MB logical ext4 8 448GB 454GB 6143MB logical ext4 9 454GB 463GB 8191MB logical ext4 11 463GB 496GB 33.4GB logical ext4 10 496GB 500GB 4095MB logical ext4
Model: ATA KING SHARE 23012 (scsi) Disk /dev/sdb: 128GB Sector size (logical/physical): 512B/512B Partition Table: msdos
Number Start End Size Type File system Flags 1 1049kB 64.4GB 64.4GB primary ntfs boot 2 64.4GB 128GB 63.6GB primary ntfs
Model: SanDisk Cruzer Blade (scsi) Disk /dev/sdc: 7849MB Sector size (logical/physical): 512B/512B Partition Table: msdos
Number Start End Size Type File system Flags 4 131kB 7849MB 7849MB primary fat32 boot
ubuntu@ubuntu:~$ sudo gdisk -l /dev/sda GPT fdisk (gdisk) version 0.8.8
Partition table scan: MBR: MBR only BSD: not present APM: not present GPT: not present
*************************************************************** Found invalid GPT and valid MBR; converting MBR to GPT format in memory. ***************************************************************
Disk /dev/sda: 976773168 sectors, 465.8 GiB Logical sector size: 512 bytes Disk identifier (GUID): 1FC44803-DA7A-4CC2-B470-ECC300E629CD Partition table holds up to 128 entries First usable sector is 34, last usable sector is 976773134 Partitions will be aligned on 2048-sector boundaries Total free space is 22509 sectors (11.0 MiB)
Number Start (sector) End (sector) Size Code Name 1 2048 209717247 100.0 GiB 0700 Microsoft basic data 2 209717248 419432447 100.0 GiB 0700 Microsoft basic data 3 419432448 850939903 205.8 GiB 0700 Microsoft basic data 5 850941952 851439615 243.0 MiB 8300 Linux filesystem 6 851441664 863438847 5.7 GiB 8200 Linux swap 7 863440896 875438079 5.7 GiB 8300 Linux filesystem 8 875440128 887437311 5.7 GiB 8300 Linux filesystem 9 887439360 903438335 7.6 GiB 8300 Linux filesystem 10 968773632 976771071 3.8 GiB 8300 Linux filesystem 11 903440384 968767487 31.2 GiB 8300 Linux filesystem
ubuntu@ubuntu:~$ sudo gdisk -l /dev/sdb GPT fdisk (gdisk) version 0.8.8
Partition table scan: MBR: MBR only BSD: not present APM: not present GPT: not present
*************************************************************** Found invalid GPT and valid MBR; converting MBR to GPT format in memory. ***************************************************************
Disk /dev/sdb: 250064384 sectors, 119.2 GiB Logical sector size: 512 bytes Disk identifier (GUID): D183A93E-3542-43A6-9FE5-1EF350CF4C3B Partition table holds up to 128 entries First usable sector is 34, last usable sector is 250064350 Partitions will be aligned on 2048-sector boundaries Total free space is 7613 sectors (3.7 MiB)
Number Start (sector) End (sector) Size Code Name 1 2048 125831167 60.0 GiB 0700 Microsoft basic data 2 125831168 250058751 59.2 GiB 0700 Microsoft basic data
ubuntu@ubuntu:~$ sudo /etc/grub.d/30_os-prober Found Ubuntu 14.04.1 LTS (14.04) on /dev/sda9 menuentry 'Ubuntu 14.04.1 LTS (14.04) (on /dev/sda9)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-bcc8708f-6c7d-4eb6-a8ac-e3abd4cb5fc8' { insmod part_msdos insmod ext2 set root='hd0,msdos5' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 42120a80-50c6-4123-85d0-e4a84415c5f4 else search --no-floppy --fs-uuid --set=root 42120a80-50c6-4123-85d0-e4a84415c5f4 fi linux /vmlinuz-3.13.0-32-generic root=UUID=bcc8708f-6c7d-4eb6-a8ac-e3abd4cb5fc8 ro quiet splash $vt_handoff initrd /initrd.img-3.13.0-32-generic } submenu 'Advanced options for Ubuntu 14.04.1 LTS (14.04) (on /dev/sda9)' $menuentry_id_option 'osprober-gnulinux-advanced-bcc8708f-6c7d-4eb6-a8ac-e3abd4cb5fc8' { menuentry 'Ubuntu (on /dev/sda9)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-3.13.0-32-generic--bcc8708f-6c7d-4eb6-a8ac-e3abd4cb5fc8' { insmod part_msdos insmod ext2 set root='hd0,msdos5' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 42120a80-50c6-4123-85d0-e4a84415c5f4 else search --no-floppy --fs-uuid --set=root 42120a80-50c6-4123-85d0-e4a84415c5f4 fi linux /vmlinuz-3.13.0-32-generic root=UUID=bcc8708f-6c7d-4eb6-a8ac-e3abd4cb5fc8 ro quiet splash $vt_handoff initrd /initrd.img-3.13.0-32-generic } menuentry 'Ubuntu, with Linux 3.13.0-32-generic (on /dev/sda9)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-3.13.0-32-generic--bcc8708f-6c7d-4eb6-a8ac-e3abd4cb5fc8' { insmod part_msdos insmod ext2 set root='hd0,msdos5' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 42120a80-50c6-4123-85d0-e4a84415c5f4 else search --no-floppy --fs-uuid --set=root 42120a80-50c6-4123-85d0-e4a84415c5f4 fi linux /vmlinuz-3.13.0-32-generic root=UUID=bcc8708f-6c7d-4eb6-a8ac-e3abd4cb5fc8 ro quiet splash $vt_handoff initrd /initrd.img-3.13.0-32-generic } menuentry 'Ubuntu, with Linux 3.13.0-32-generic (recovery mode) (on /dev/sda9)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/vmlinuz-3.13.0-32-generic-root=UUID=bcc8708f-6c7d-4eb6-a8ac-e3abd4cb5fc8 ro recovery nomodeset-bcc8708f-6c7d-4eb6-a8ac-e3abd4cb5fc8' { insmod part_msdos insmod ext2 set root='hd0,msdos5' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 42120a80-50c6-4123-85d0-e4a84415c5f4 else search --no-floppy --fs-uuid --set=root 42120a80-50c6-4123-85d0-e4a84415c5f4 fi linux /vmlinuz-3.13.0-32-generic root=UUID=bcc8708f-6c7d-4eb6-a8ac-e3abd4cb5fc8 ro recovery nomodeset initrd /initrd.img-3.13.0-32-generic } }
Found Windows 7 (loader) on /dev/sdb1 menuentry 'Windows 7 (loader) (on /dev/sdb1)' --class windows --class os $menuentry_id_option 'osprober-chain-70CC3EF8CC3EB864' { insmod part_msdos insmod ntfs set root='hd1,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 70CC3EF8CC3EB864 else search --no-floppy --fs-uuid --set=root 70CC3EF8CC3EB864 fi parttool ${root} hidden- chainloader +1 } set timeout_style=menu if [ "${timeout}" = 0 ]; then set timeout=10 fi
最后由 TN801465 编辑于 2015-11-24 15:17,总共编辑了 2 次
|