Sponsored Content
Operating Systems Linux Ubuntu CentOS, Fedora & RedHat in 1 box Post 302087134 by raybakh on Tuesday 29th of August 2006 09:38:41 PM
Old 08-29-2006
2nd method:

I've separated the 80GB to 3 partition. The 1st installation of RedHat on the first partition with : /, usr, var, tmp, opt, swap, etc. was succesful.

2nd installation of Fedora i did the same spec as per RedHat except, i've left out the swap space and intended to cross platform the swap. So, when i click ok, it requested to format the swap and i proceed. after succes installation it rebooted and i notice that on the grub, the RedHat is gone.

Is there some steps missing here? coz when i redo the RedHat installation it goes vice versa.

Please help me. Thank you in advance.
 

10 More Discussions You Might Find Interesting

1. Red Hat

convert centos 5.2 to Fedora 10

i need to convert my centos 5.2 to fedora 10 with no losing data . !! but how ? can someone help !!? cheers Chang-Lee (1 Reply)
Discussion started by: chang-lee
1 Replies

2. Linux

Problem with CRONTAB on Fedora and CentOS

Hello, Can anyone please explain HOW Crontab i.e. job scheduling daemon works in Fedora and CentOS or any Linux platform(Ubuntu).... What are the points that i have to take care of if have to include a script to be run at a specific scheduled time. URGENT reply requested. Please help (1 Reply)
Discussion started by: Vabiosis
1 Replies

3. Virtualization and Cloud Computing

Installing CentOS 5.5 on Virtual Box

Hi, I have installed VirtualBox, downloaded CentOS 5.5 and created a VirtualMachine where i have installed the 'server' versión of CentOS 5.5 As I installed Virtual Box a new network device appeared '192.16.1.250' in my 'real' machine. I was unable to reach my webserver so i istalled CentOS once... (5 Replies)
Discussion started by: motoko
5 Replies

4. Red Hat

wmii on redhat/fedora

Hi, I want to install the wmii window manager on my redhat. is there any package for it? anybody has any idea? I googled it but did not find a good answer. thanks. Double post, continued here (0 Replies)
Discussion started by: messi777
0 Replies

5. Red Hat

Fedora vs Redhat

Hi, can i say technically there is no difference in: package management (installation/removal/updating) commands between redhat and fedora? in redhat if I am not a official subscriber, I can never do commands like: yum search/update/install... unless I have the license how does... (4 Replies)
Discussion started by: messi777
4 Replies

6. UNIX for Dummies Questions & Answers

Centos 5.8 and RedHat 5.3 terminals strange behaviour

Hello, I have following problem. I have Centos 5.8 ( Final ) on Virtual Box. I noticed very strange behavior of the terminals when resizing them. My default shell is tcsh . Let's assume that we have trial script try.csh with text in it: #! /bin/tcsh -f # Trial script echo... (4 Replies)
Discussion started by: tyanata
4 Replies

7. IP Networking

RedHat/Centos Disable IPv6 Networking

Guide on how to disable ipv6 for Centos and RedHat 1) Edit /etc/sysconfig/network-scripts/ifcfg-eth0 and change: NETWORKING_IPV6=yes to NETWORKING_IPV6=no 2) Edit /etc/modprobe.conf and add these lines: alias net-pf-10 off alias ipv6 off 3) Stop the ipv6tables service: ... (0 Replies)
Discussion started by: zanna91
0 Replies

8. Red Hat

How to access redhat Linux box graphically from windows box?

Hi I have a linux box and need to access from windows graphically # uname -a Linux pc-l416116 2.6.18-155.el5 #1 SMP Fri Jun 19 17:06:47 EDT 2009 i686 i686 i386 GNU/Linux What components do I need to install on Linux and windows to do that? TIA (6 Replies)
Discussion started by: magnus29
6 Replies

9. Red Hat

Hack a centos Linux box

HI, I have a Centos linux box and there is interface connect to internet. I stop the iptables in this box . After a few day , I find the linux box have been hacked and install some perl script into the box . Could anyone tell me how the hacker can login into the centos box without knowing... (1 Reply)
Discussion started by: chuikingman
1 Replies

10. IP Networking

Centos/Redhat 7 - Team or Bond

Hello my dears, I preparing system running linux. I found that team is advantage than bond with the option "load-balancing for LACP support" and some minor advantages. 8.3. Comparison of Network Teaming to Bonding - Red Hat Customer Portal. But what exactly meaning of this option I don't... (1 Reply)
Discussion started by: tien86
1 Replies
MKSWAP(8)                                                      System Administration                                                     MKSWAP(8)

NAME
mkswap - set up a Linux swap area SYNOPSIS
mkswap [options] device [size] DESCRIPTION
mkswap sets up a Linux swap area on a device or in a file. The device argument will usually be a disk partition (something like /dev/sdb7) but can also be a file. The Linux kernel does not look at partition IDs, but many installation scripts will assume that partitions of hex type 82 (LINUX_SWAP) are meant to be swap partitions. (Warning: Solaris also uses this type. Be careful not to kill your Solaris partitions.) The size parameter is superfluous but retained for backwards compatibility. (It specifies the desired size of the swap area in 1024-byte blocks. mkswap will use the entire partition or file if it is omitted. Specifying it is unwise - a typo may destroy your disk.) After creating the swap area, you need the swapon command to start using it. Usually swap areas are listed in /etc/fstab so that they can be taken into use at boot time by a swapon -a command in some boot script. WARNING
The swap header does not touch the first block. A boot loader or disk label can be there, but it is not a recommended setup. The recom- mended setup is to use a separate partition for a Linux swap area. mkswap, like many others mkfs-like utils, erases the first partition block to make any previous filesystem invisible. However, mkswap refuses to erase the first block on a device with a disk label (SUN, BSD, ...). OPTIONS
-c, --check Check the device (if it is a block device) for bad blocks before creating the swap area. If any bad blocks are found, the count is printed. -f, --force Go ahead even if the command is stupid. This allows the creation of a swap area larger than the file or partition it resides on. Also, without this option, mkswap will refuse to erase the first block on a device with a partition table. -L, --label label Specify a label for the device, to allow swapon by label. -p, --pagesize size Specify the page size (in bytes) to use. This option is usually unnecessary; mkswap reads the size from the kernel. -U, --uuid UUID Specify the UUID to use. The default is to generate a UUID. -v, --swapversion 1 Specify the swap-space version. (This option is currently pointless, as the old -v 0 option has become obsolete and now only -v 1 is supported. The kernel has not supported v0 swap-space format since 2.5.22 (June 2002). The new version v1 is supported since 2.1.117 (August 1998).) -h, --help Display help text and exit. -V, --version Display version information and exit. NOTES
The maximum useful size of a swap area depends on the architecture and the kernel version. The maximum number of the pages that is possible to address by swap area header is 4294967295 (UINT_MAX). The remaining space on the swap device is ignored. Presently, Linux allows 32 swap areas. The areas in use can be seen in the file /proc/swaps mkswap refuses areas smaller than 10 pages. If you don't know the page size that your machine uses, you may be able to look it up with "cat /proc/cpuinfo" (or you may not - the con- tents of this file depend on architecture and kernel version). To set up a swap file, it is necessary to create that file before initializing it with mkswap, e.g. using a command like # fallocate --length 8GiB swapfile Note that a swap file must not contain any holes. Using cp(1) to create the file is not acceptable. Neither is use of fallocate(1) on file systems that support preallocated files, such as XFS or ext4, or on copy-on-write filesystems like btrfs. It is recommended to use dd(1) and /dev/zero in these cases. Please read notes from swapon(8) before adding a swap file to copy-on-write filesystems. ENVIRONMENT
LIBBLKID_DEBUG=all enables libblkid debug output. SEE ALSO
fdisk(8), swapon(8) AVAILABILITY
The mkswap command is part of the util-linux package and is available from https://www.kernel.org/pub/linux/utils/util-linux/. util-linux March 2009 MKSWAP(8)
All times are GMT -4. The time now is 03:08 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy