Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-30-2005, 09:39 AM
|
#1
|
Senior Member
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288
Rep:
|
Booting snapshot
Is there anyway i can take several snapshots of my linux booting up? I need it for a project i'm working on.
If not, are there any alternatives? I'm thinking the output of dmesg, but i'd prefer an actual booting snapshot.
Thanks.
Last edited by xushi; 04-30-2005 at 09:41 AM.
|
|
|
04-30-2005, 10:10 AM
|
#2
|
Member
Registered: Oct 2004
Location: Ottawa, ON
Distribution: Slackware
Posts: 662
Rep:
|
Gonna have to boot Linux in a virtual machine, I'm afraid.
Or do it the old fashioned way with a digital camera.
|
|
|
04-30-2005, 11:26 AM
|
#3
|
Senior Member
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288
Original Poster
Rep:
|
Damn =/
Is there any easy way to copy over my linux partition (or another one on my hd) to boot it in vmware? or do i have to virutally reinstall again?
|
|
|
04-30-2005, 01:14 PM
|
#4
|
Member
Registered: Oct 2004
Location: Ottawa, ON
Distribution: Slackware
Posts: 662
Rep:
|
As long as you have the drive space on an unmounted drive, you can do it with dd. The problem is that if your Linux system is too large, you won't be able to fit the entire image.
You're looking for kernel messages, though, right? Why not just copy the kernel into a bootdisk image (use the root/boot disk howto if you don't know how to do this), and then boot that with vmware or something? The system won't be usable, but the kernel itself will boot and be able to get pretty far in the booting process before it panics and dies. Far enough that you can finish off the screenshots from within your system without needing to change anything, maybe?
|
|
|
04-30-2005, 01:37 PM
|
#5
|
Senior Member
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288
Original Poster
Rep:
|
Quote:
Originally posted by killerbob
As long as you have the drive space on an unmounted drive, you can do it with dd. The problem is that if your Linux system is too large, you won't be able to fit the entire image.
|
The system i can use is around 1.4Gb. Is that too large? (Note: i have a dvd burner if it helps). I think making a live cd out of it and using that cd in vmware may be one solution, if i can figure out how to do it before the end of the day.
Quote:
You're looking for kernel messages, though, right? Why not just copy the kernel into a bootdisk image and then boot that with vmware or something? The system won't be usable, but the kernel itself will boot and be able to get pretty far in the booting process before it panics and dies. Far enough that you can finish off the screenshots from within your system without needing to change anything, maybe?
|
lol, crazy  I'll read up on how to copy the kernel into an image.
Thanks.
|
|
|
04-30-2005, 01:40 PM
|
#6
|
LQ Guru
Registered: Mar 2004
Distribution: Slackware
Posts: 6,812
|
if you have framebuffer you can use fbgrab
http://hem.bredband.net/gmogmo/fbgrab/
to do screenshot, you have to edit rc.* files to add some lines like
/path/to/fbgrab -c 1 /path/to/file.png
[edit]
If make fails, edit the makefile and add -lm :
Code:
fbgrab: fbgrab.c
gcc -g -Wall fbgrab.c -lpng -lz -lm -o fbgrab
Last edited by keefaz; 04-30-2005 at 01:44 PM.
|
|
|
04-30-2005, 02:05 PM
|
#7
|
Senior Member
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288
Original Poster
Rep:
|
Seems like a nice program. But i'm getting an error in make even if i add lm
Code:
root@xushitop:/download/fbgrab-1.0# make
splint +posixlib fbgrab.c
Splint 3.1.1 --- 30 Apr 2005
/usr/include/asm/types.h:11:24: Parse Error:
Suspect missing struct or union keyword: __signed__ :
unsigned short int. (For help on parse errors, see splint -help
parseerrors.)
*** Cannot continue.
make: *** [fbgrab] Error 1
Any suggestion?
|
|
|
04-30-2005, 02:11 PM
|
#8
|
LQ Guru
Registered: Mar 2004
Distribution: Slackware
Posts: 6,812
|
Remove all lines with ' splint ' in the makefile, it is not needed
Code:
fbgrab: fbgrab.c
gcc -g -Wall fbgrab.c -lpng -lz -lm -o fbgrab
install:
strip fbgrab
install fbgrab /usr/bin/fbgrab
install fbgrab.1.man /usr/man/man1/fbgrab.1
clean:
rm -f fbgrab *~ \#*\#
|
|
|
04-30-2005, 02:17 PM
|
#9
|
Senior Member
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288
Original Poster
Rep:
|
Excellent, that did the job =)
Thanks alot keefaz, killerbob.
|
|
|
All times are GMT -5. The time now is 05:59 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|