Thread: how regenerate grub.cfg for only one, specified hdd?
hello all
have copied system new hdd. generate new grub.cfg file grub-mkconfig file should contain _only_ entries new hdd. when try generates entries both bootable disk (current , new) new 1 there no memtest entries.
generate same entries have current disk referencing partition(s) on new one.
should manually? isn't there automated method?
, second one:
i'm suprised there no "grub" program own simple shell when grub2 installed. replaced sth?
best regards
can see additional entries generated new hdd have root set old 1 - complete nonsense
uuid 6a2... - partition on new diskcode:menuentry "ubuntu, linux 2.6.35-28-generic (on /dev/sdb3)" { insmod part_msdos insmod ext2 set root='(hd1,msdos3)' search --no-floppy --fs-uuid --set 6a26581f-084b-42e4-89dc-71b464b6b29c linux /boot/vmlinuz-2.6.35-28-generic root=uuid=415d9dc0-150c-404c-ba6f-704c40a71846 ro quiet splash initrd /boot/initrd.img-2.6.35-28-generic }
uuid 415... - partition on current disk
did full partition copy dd or gparted , not copy files partitions created in advance. may have duplicate uuids.
booting new drive using old / (root).
post can see entire configuration.
boot info script courtesy of forum members meierfra & gert hulselmans
page instructions , download:
http://bootinfoscript.sourceforge.net/
paste contents of results.txt in new reply, highlight entire file , click on # in edit panel(code tags) make easier read.
or can generate tags first pressing # icon in new reply edit toolbar , paste contents between generated [ code] paste here [ /code] tags.
v60 has improved formating , requires code tags make legible. new version zip file have extract .sh run.
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Installation & Upgrades [ubuntu] how regenerate grub.cfg for only one, specified hdd?
Ubuntu
Comments
Post a Comment