[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Booting a copy of a Debian system



I've been trying to re-organise my drives somewhat. Since qtparted can't
move partitions around (at least not the version on Knoppix 4.0.2) I
decided to make copies of my partitions:

 /dev/sda5 [/boot]  -->  /dev/sda7
 /dev/sda6 [/]      -->  /dev/sda8

I modified (/dev/sda8)/etc/fstab like this to mount the proper
partitions. I also modified GRUB's menu.lst, adding the following entry:

 title           New system
 root            (hd0,6)
 kernel          /vmlinuz-2.6.16-1-k7 root=/dev/sda8 ro vga=793
 initrd          /initrd.img-2.6.16-1-k7

However, when booting "New system" I still end up with the following:

 % mount|grep sda
 /dev/sda6 on / type ext3 (rw,errors=remount-ro,acl)
 /dev/sda5 on /boot type ext2 (rw,nosuid,nodev)

What's going on here, and how do I boot the copy I made?

/M

-- 
Magnus Therning                    (OpenPGP: 0xAB4DFBA4)
magnus@therning.org
http://therning.org/magnus

Software is not manufactured, it is something you write and publish.
Keep Europe free from software patents, we do not want censorship
by patent law on written works.

Of course I laugh at my own jokes. You can't trust strangers.
     -- Phyllis Diller

Attachment: pgpEPzL3lKcvE.pgp
Description: PGP signature


Reply to: