07-01-2009
Quote:
And this time, first i installed Fedora 10.
Quote:
I want to have Win XP, Fedora and slackware in my PC (80 GB ).
Why?
One word for you: virtualization. Go check out VirtualBox or VMWare. Stick with XP and run Fedora and Slackware as Guest OS's. Or do it the other way around.
I know this doesn't really answer your question, but when you said you were using lilo to try and dual-boot XP and FC, that told me you're way over your head.
10 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
Hello! im having a hard time installing Slackware 9 on my 20GB hard drive.
it boots "bare.i" all the way until detecting partitions on my hard drive, hanging like this
yet, vector linux (kernel 2.4.18) and my old redhat (2.2.12-10) work fine? oh though it does cause a boot delay if i... (0 Replies)
Discussion started by: supafluous
0 Replies
2. Solaris
I have two disks on a sun blade 100. I just installed a solaris8 on the first disk. The installation was successful. But the problem is now I lost all data / partition on my second hard disk.
The possible reason could be:
1. I used default web start install. During the installation I didn't... (2 Replies)
Discussion started by: motor98
2 Replies
3. UNIX for Advanced & Expert Users
Host 1
-------
Part Tag Flag Cylinders Size Blocks
0 root wm 0 - 1911 18.56GB (1912/0/0) 38913024
1 swap wu 1912 - 5434 34.19GB (3523/0/0) 71700096
2 backup wm 0 - 14086 136.71GB ... (5 Replies)
Discussion started by: sriny
5 Replies
4. UNIX for Advanced & Expert Users
I want to modify a predefined partition on Solaris. This predefined partion has 51 GB. I want to partition it as two partition. One is 5G, another one is about
46 GB. I want to use these commands:
#format
specify disk
#partition
# modify
The system told me that ' Cannot modify disk... (1 Reply)
Discussion started by: duke0001
1 Replies
5. Solaris
I have X4500 running Solaris 10. I have formatted a disk and created partition table as given below.
Specify disk (enter its number): 0
selecting c0t0d0
/dev/dsk/c0t0d0s0 is part of active ZFS pool zpool1. Please see zpool(1M).
FORMAT MENU:
disk - select a disk
... (3 Replies)
Discussion started by: bharu_sri
3 Replies
6. Solaris
I'm manually editing the partition table purely for experimenting. I did
prtvtoc /dev/dsk/c1t0d0s2 > /tmp/prtvtoc
I'm trying to split up partition 5 to make partition 6. I'm running into a cylinder boundary error on partition 6. Any clues?
# vi /tmp/prtvtoc
"/tmp/prtvtoc" 23 lines, 769... (1 Reply)
Discussion started by: adelsin
1 Replies
7. SCO
hi
How can I backup MBR an Partition Table of SCO 5.0.6? (7 Replies)
Discussion started by: ccc
7 Replies
8. Red Hat
Hi,
I need to mount the device from this device
# fdisk -l
.
.
.
Disk /dev/sdas: 2000.4 GB, 2000365289472 bytes
255 heads, 63 sectors/track, 243197 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size... (0 Replies)
Discussion started by: justbow
0 Replies
9. Ubuntu
Memory card partition table got corrupted after unsafe removal.
Is there any possible recovery ?..
If i list using fdisk
fdisk -l
root@ubuntu:/usr/arm-fsl-linux-gnueabi/arm-fsl-linux-gnueabi/multi-libs# fdisk -l /dev/sdc
Disk /dev/sdc: 3965 MB, 3965190144 bytes
122 heads, 62... (2 Replies)
Discussion started by: roonie
2 Replies
10. Programming
Hello,
I have a database called "audit_database" and I want to create two tables.
Table 1 = Table 1
Table 2 = Audit
I want to partition the Audit table into partitions grouped by month. I'm not familiar with table partitioning but doing some reading online shows that it can be done but... (4 Replies)
Discussion started by: bbbngowc
4 Replies
LEARN ABOUT DEBIAN
shell-quote
SHELL-QUOTE(1p) User Contributed Perl Documentation SHELL-QUOTE(1p)
NAME
shell-quote - quote arguments for safe use, unmodified in a shell command
SYNOPSIS
shell-quote [switch]... arg...
DESCRIPTION
shell-quote lets you pass arbitrary strings through the shell so that they won't be changed by the shell. This lets you process commands
or files with embedded white space or shell globbing characters safely. Here are a few examples.
EXAMPLES
ssh preserving args
When running a remote command with ssh, ssh doesn't preserve the separate arguments it receives. It just joins them with spaces and
passes them to "$SHELL -c". This doesn't work as intended:
ssh host touch 'hi there' # fails
It creates 2 files, hi and there. Instead, do this:
cmd=`shell-quote touch 'hi there'`
ssh host "$cmd"
This gives you just 1 file, hi there.
process find output
It's not ordinarily possible to process an arbitrary list of files output by find with a shell script. Anything you put in $IFS to
split up the output could legitimately be in a file's name. Here's how you can do it using shell-quote:
eval set -- `find -type f -print0 | xargs -0 shell-quote --`
debug shell scripts
shell-quote is better than echo for debugging shell scripts.
debug() {
[ -z "$debug" ] || shell-quote "debug:" "$@"
}
With echo you can't tell the difference between "debug 'foo bar'" and "debug foo bar", but with shell-quote you can.
save a command for later
shell-quote can be used to build up a shell command to run later. Say you want the user to be able to give you switches for a command
you're going to run. If you don't want the switches to be re-evaluated by the shell (which is usually a good idea, else there are
things the user can't pass through), you can do something like this:
user_switches=
while [ $# != 0 ]
do
case x$1 in
x--pass-through)
[ $# -gt 1 ] || die "need an argument for $1"
user_switches="$user_switches "`shell-quote -- "$2"`
shift;;
# process other switches
esac
shift
done
# later
eval "shell-quote some-command $user_switches my args"
OPTIONS
--debug
Turn debugging on.
--help
Show the usage message and die.
--version
Show the version number and exit.
AVAILABILITY
The code is licensed under the GNU GPL. Check http://www.argon.org/~roderick/ or CPAN for updated versions.
AUTHOR
Roderick Schertler <roderick@argon.org>
perl v5.8.4 2005-05-03 SHELL-QUOTE(1p)