-
Senior Member
registered user
Another small update: When legacy grub is installed, qemu can actually boot other partitions on the main drive you are running from. (Module kvm-intel may not be loaded automatically.)
Code:
sudo modprobe kvm && sudo modprobe kvm-intel
sudo qemu -machine accel=kvm -hda /dev/sda -hdb /dev/sdb -m 1024 &
If legacy grub is installed on /dev/hda, this will give you the grub boot menu, and you can use any alternative, except from the instance you are already running (if you booted that way), and there may be partition mounting conflicts. If you have a USB stick or USB external harddisk, they may also be mounted from the VM in the ordinary way when /dev/sdb is given on the command line. Doing purging and installs in the virtual machine is about as fast as directly, and much simpler and safer wrt testing etc.
There are quite a few packages eligible for upgrade in 7.0.3, but I don't think it is worthwhile (or even safe) to try to upgrade all of them. For me, it has worked well so far picking the possibly important ones (like aptitude and qemu).
Maybe it wasn't smart to install the 64-compatibility libs from unstable this time too, for the stripdeb.sh script crashed for some strange reason. Running the steps to strip libc6 (libc6_2.13-34_i386.deb) manually worked, though.
-
Senior Member
registered user

Originally Posted by
Capricorny
Maybe it wasn't smart to install the 64-compatibility libs from unstable this time too, for the stripdeb.sh script crashed for some strange reason. Running the steps to strip libc6 (libc6_2.13-34_i386.deb) manually worked, though.
Install of multilibs from stable went quite fine, and I think this is the former unstable version, so it might just work 
Update on qemu use: Just did a complete 7.0.3 DVD squashfs remastering, running cloop 7.0.3 in qemu using USB3-mounted external harddisk as workspace. Command as in above post, with -hdb /dev/sdb.
Times:
Code:
Set up workspace...............Thu Jul 5 13:35:35 UTC 2012
Copy live system...............Thu Jul 5 13:36:04 UTC 2012
Create squashfs...............Thu Jul 5 13:54:40 UTC 2012
Parallel mksquashfs: Using 1 processor
Loopcreate persistent...............Thu Jul 5 14:20:17 UTC 2012
Purge workspace...............Thu Jul 5 14:20:30 UTC 2012
So, doing the whole remastering business in a virtual machine, using external HDD, is perfectly fine, too.
Last edited by Capricorny; 07-05-2012 at 01:42 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

🔀 Juniper Networks EX2300-C-12P 12× Gigabit PoE+ • 2× 10G SFP+ Compact Switch ⚡
$109.99

Juniper EX2300 12-Port Gigabit PoE+ Managed Network Switch P/N: EX2300-C-12P
$149.99

Juniper Networks Mist Wireless Access Points, Model AP45
$59.99

Juniper EX3400-24P 24-Port PoE+ GbE + 4-Port 1/10Gb SFP Switch
$245.00

Juniper Networks MX204-HW-BASE *BRAND NEW FACTORY SEALED* READ DETAILS
$8199.99

Juniper QFX5120-48Y-AFO 48 x 1/10/25GB SFP28 + 8 x 40/100GB Switch w/Dual AC
$10499.99

Juniper EX2300-C 12 Port Compact Gigabit Switch EX2300-C-12p Discounted Cosmetic
$79.86

Juniper EX2300-C-12P 12 Port Gigabit PoE+ 2x10G SFP+ Managed Compact Switch
$179.99

Juniper Networks EX3400-24T 24-Port Ethernet Switch w/Power Cord
$174.99

Juniper EX2300-24P 24-port Gigabit RJ-45 PoE 4-port 10Gb SFP+ Network Switch
$89.99