On Sat, Sep 29, 2012 at 7:50 PM, Brian <a...@cityscape.co.uk> wrote:
> On Sat 29 Sep 2012 at 18:56:43 +0200, Artifex Maximus wrote:
>
>> On Sat, Sep 29, 2012 at 12:24 PM, Brian <a...@cityscape.co.uk> wrote:
>> >
>> > At the GRUB prompt press the 'e' key. Please post what you see. There
>> > will probably be a long UUID. To save some typing put 123 for it.
>>
>> Thanks. Might I was not clean. This is not grub prompt just a GRUB
>> line on the screen. Keys even ctrl-alt-del don't work. I assume this
>> is the output of loader in the boot sector of sda2.
>
> No, you clearly described your situation. It was me who mangled it. I
> think what I wanted to say was the UUID of the partition in grub.cfg
> would not be the same as before the cloning, so the file needs editing.
> blkid would be used to get the new UUID. Alternatively, deleting the
> search line and having the linux line as
>
>    linux /vmlinuz root=/dev/sda2
>
> might work.

Thanks for your answer but the problem is the loader stops before
loading GRUB itself so I cannot do anything within GRUB. The "GRUB "
text was displayed by boot sector of partition. This means that GRUB
loader in boot sector of partition does not find the next stage of
GRUB. I do not know why. I do not know how to reinstall GRUB to my
Debian partition. The UUID of swap partition lost in clone but I think
there is a myriad of tutorial how to change UUID of partition.

Here is the blkid output:

/dev/sda1: UUID="01CBD00909925860" TYPE="ntfs"
/dev/sda2: LABEL="rootfs" UUID="6fcb6e1c-92a2-4ac5-beac-e997ab08491f"
SEC_TYPE="ext2" TYPE="ext3"
/dev/sda3: TYPE="swap"

Here is the grub.cfg part:

menuentry 'Debian GNU/Linux, with Linux 3.2.0-3-amd64' --class debian
--class gnu-linux --class gnu --class os {
        insmod gzio
        insmod part_msdos
        insmod ext2
        set root='(hd1,msdos2)'
        search --no-floppy --fs-uuid --set=root 
6fcb6e1c-92a2-4ac5-beac-e997ab08491f
        echo    'Loading Linux 3.2.0-3-amd64 ...'
        linux   /boot/vmlinuz-3.2.0-3-amd64
root=UUID=6fcb6e1c-92a2-4ac5-beac-e997ab08491f ro  quiet acpi=force
        echo    'Loading initial ramdisk ...'
        initrd  /boot/initrd.img-3.2.0-3-amd64
}

And here is the fstab:

# / was on /dev/sda2 during installation
UUID=6fcb6e1c-92a2-4ac5-beac-e997ab08491f /               ext3
errors=remount-ro 0       1
# swap was on /dev/sda3 during installation
UUID=d76a59a5-e778-41c6-8d2d-e10a52bd739f none            swap    sw
           0       0

Bye,
a


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAPkuXvHPBVntCs7DA5Zbp8SOMZUeG7xa=bnbm7xk1xa5bbc...@mail.gmail.com

Reply via email to