debian wheezy okruzenje xlde e sad debian je instaliran na zasebnom disku sda a mint13 i win7 na sdb…
fdisk -l
root@woodoo:/home/shooms# fdisk -l
Disk /dev/sda: 60.0 GB, 60021399040 bytes
255 heads, 63 sectors/track, 7297 cylinders, total 117229295 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: 0x00005557
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 113281023 56639488 83 Linux
/dev/sda2 113283070 117227519 1972225 5 Extended
/dev/sda5 113283072 117227519 1972224 82 Linux swap / Solaris
Disk /dev/sdb: 320.1 GB, 320071851520 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625140335 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: 0xcd7ebbfa
Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 206847 102400 7 HPFS/NTFS/exFAT
/dev/sdb2 206848 209922047 104857600 7 HPFS/NTFS/exFAT
/dev/sdb3 209926080 416782799 103428360 7 HPFS/NTFS/exFAT
/dev/sdb4 416784382 625139711 104177665 5 Extended
/dev/sdb5 416784384 424781823 3998720 82 Linux swap / Solaris
/dev/sdb6 424783872 544782335 59999232 83 Linux
/dev/sdb7 544784384 625139711 40177664 83 Linux
Disk /dev/sdd: 300.1 GB, 300069052416 bytes
255 heads, 63 sectors/track, 36481 cylinders, total 586072368 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: 0x16501650
Device Boot Start End Blocks Id System
/dev/sdd2 63 586067264 293033601 7 HPFS/NTFS/exFAT
Disk /dev/sde: 320.1 GB, 320071851520 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625140335 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: 0x395a3959
Device Boot Start End Blocks Id System
/dev/sde1 63 625137344 312568641 7 HPFS/NTFS/exFAT
Disk /dev/sdc: 750.2 GB, 750155292160 bytes
255 heads, 63 sectors/track, 91201 cylinders, total 1465147055 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: 0x0911a486
Device Boot Start End Blocks Id System
/dev/sdc2 16065 1465144064 732564000 f W95 Ext’d (LBA)
/dev/sdc5 16128 1465144064 732563968+ 7 HPFS/NTFS/exFAT
blkid
root@woodoo:/home/shooms# blkid
/dev/sda1: UUID=“ed12769f-ed55-466f-ab10-7e070bb2604e” TYPE=“ext4”
/dev/sda5: UUID=“66e6dc05-a57a-4832-89e1-cf121e04085b” TYPE=“swap”
/dev/sdb1: UUID=“6A82B82382B7F1A5” TYPE=“ntfs”
/dev/sdb2: LABEL=“win7” UUID=“F8DEB11ADEB0D25C” TYPE=“ntfs”
/dev/sdb3: LABEL=“download” UUID=“01CDF2AA3D466C80” TYPE=“ntfs”
/dev/sdb5: UUID=“7bae0505-ef85-4ffa-b896-c6e2df52b401” TYPE=“swap”
/dev/sdb6: UUID=“cf897bfb-a1c3-4780-9b1e-9fd16ed127e2” TYPE=“ext4”
/dev/sdb7: UUID=“ea54b48c-8313-4dc9-910d-e76a881b87a0” TYPE=“ext4”
/dev/sdd2: LABEL=“magacin” UUID=“BCCE82E2CE8293F4” TYPE=“ntfs”
/dev/sde1: LABEL=“media” UUID=“01CCE83E842C1680” TYPE=“ntfs”
/dev/sdc5: LABEL=“djeembe” UUID=“0CA04A25A04A159C” TYPE=“ntfs”
/etc/grub.d/40_custom
#!/bin/sh
exec tail -n +3 $0
set root=(hd1,6)
search --no-floppy --fs-uuid --set cf897bfb-a1c3-4780-9b1e-9fd16ed127e2
linux /boot/??? root=UUID=cf897bfb-a1c3-4780-9b1e-9fd16ed127e2 ro quiet splash
initrd /boot/initrd.img-???
}
ovo gde su ??? dali mogu doci do tih podataka iz debiana ili moram da butujem mint13 i odatle(pretpostavljam da se to nalazi u boot/ ali nisam siguran pa mi je potrebna pomoc) i dali sam ovo ispravno napisao?isto to mi treba i za win7 mada se za njega cinimi se lako pravi ova custom skripta
fdisk -l
root@woodoo:/home/shooms# fdisk -l
Disk /dev/sda: 60.0 GB, 60021399040 bytes
255 heads, 63 sectors/track, 7297 cylinders, total 117229295 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: 0x00005557
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 113281023 56639488 83 Linux
/dev/sda2 113283070 117227519 1972225 5 Extended
/dev/sda5 113283072 117227519 1972224 82 Linux swap / Solaris
Disk /dev/sdb: 320.1 GB, 320071851520 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625140335 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: 0xcd7ebbfa
Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 206847 102400 7 HPFS/NTFS/exFAT
/dev/sdb2 206848 209922047 104857600 7 HPFS/NTFS/exFAT
/dev/sdb3 209926080 416782799 103428360 7 HPFS/NTFS/exFAT
/dev/sdb4 416784382 625139711 104177665 5 Extended
/dev/sdb5 416784384 424781823 3998720 82 Linux swap / Solaris
/dev/sdb6 424783872 544782335 59999232 83 Linux
/dev/sdb7 544784384 625139711 40177664 83 Linux
Disk /dev/sdd: 300.1 GB, 300069052416 bytes
255 heads, 63 sectors/track, 36481 cylinders, total 586072368 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: 0x16501650
Device Boot Start End Blocks Id System
/dev/sdd2 63 586067264 293033601 7 HPFS/NTFS/exFAT
Disk /dev/sde: 320.1 GB, 320071851520 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625140335 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: 0x395a3959
Device Boot Start End Blocks Id System
/dev/sde1 63 625137344 312568641 7 HPFS/NTFS/exFAT
Disk /dev/sdc: 750.2 GB, 750155292160 bytes
255 heads, 63 sectors/track, 91201 cylinders, total 1465147055 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: 0x0911a486
Device Boot Start End Blocks Id System
/dev/sdc2 16065 1465144064 732564000 f W95 Ext’d (LBA)
/dev/sdc5 16128 1465144064 732563968+ 7 HPFS/NTFS/exFAT
blkid
root@woodoo:/home/shooms# blkid
/dev/sda1: UUID=“ed12769f-ed55-466f-ab10-7e070bb2604e” TYPE=“ext4”
/dev/sda5: UUID=“66e6dc05-a57a-4832-89e1-cf121e04085b” TYPE=“swap”
/dev/sdb1: UUID=“6A82B82382B7F1A5” TYPE=“ntfs”
/dev/sdb2: LABEL=“win7” UUID=“F8DEB11ADEB0D25C” TYPE=“ntfs”
/dev/sdb3: LABEL=“download” UUID=“01CDF2AA3D466C80” TYPE=“ntfs”
/dev/sdb5: UUID=“7bae0505-ef85-4ffa-b896-c6e2df52b401” TYPE=“swap”
/dev/sdb6: UUID=“cf897bfb-a1c3-4780-9b1e-9fd16ed127e2” TYPE=“ext4”
/dev/sdb7: UUID=“ea54b48c-8313-4dc9-910d-e76a881b87a0” TYPE=“ext4”
/dev/sdd2: LABEL=“magacin” UUID=“BCCE82E2CE8293F4” TYPE=“ntfs”
/dev/sde1: LABEL=“media” UUID=“01CCE83E842C1680” TYPE=“ntfs”
/dev/sdc5: LABEL=“djeembe” UUID=“0CA04A25A04A159C” TYPE=“ntfs”
/etc/grub.d/40_custom
#!/bin/sh
exec tail -n +3 $0
This file provides an easy way to add custom menu entries. Simply type the
menu entries you want to add after this comment. Be careful not to change
the ‘exec tail’ line above.
menuentry “Mint13” {set root=(hd1,6)
search --no-floppy --fs-uuid --set cf897bfb-a1c3-4780-9b1e-9fd16ed127e2
linux /boot/??? root=UUID=cf897bfb-a1c3-4780-9b1e-9fd16ed127e2 ro quiet splash
initrd /boot/initrd.img-???
}
ovo gde su ??? dali mogu doci do tih podataka iz debiana ili moram da butujem mint13 i odatle(pretpostavljam da se to nalazi u boot/ ali nisam siguran pa mi je potrebna pomoc) i dali sam ovo ispravno napisao?isto to mi treba i za win7 mada se za njega cinimi se lako pravi ova custom skripta
Last edited: