-
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

RAM-HOL-SAM60CPU RAM USB-C Powered Dock for Samsung Tab Active5 - 3 - 2
$81.99

Samsung 2.5" 870 EVO SSD SATA III 250GB 500GB 1TB Internet Solid State Drive Lot
$60.00

New Samsung 512GB FIT Plus USB 3.2 Gen 1 Type-A Flash Drive MUF-512AB/AM NEW
$120.00

NEW Samsung NoteBook NT930QCG touch LCD Full Screen Assembly Blue
$225.77

RAM-GDS-SKIN-SAM54-NG-1 RAM Mounts IntelliSkin® Next Gen for Samsung Tab Active4
$93.99

RAM-HOL-SAM52CPU RAM USB-C Powered Dock Samsung Tab Active4 Pro & Tab Active Pro
$81.99

Cell Phone Smartphone Computer repair banner poster sign iphone Samsung
$89.99

RAM-GDS-DOCK-SAM88CPU RAM GDS® Tough-Dock™ for Samsung Tab A9+
$174.99

Samsung 24" S3 Essential IPS 100Hz Monitor | Sealed | Fast shipping
$50.00

QTY 100 Samsung Galaxy Tab Active 4 Pro 10.1” Case, Black
$500.00