General :: What Is The "the Dos Compatibility Flag" In Fdisk
Jul 16, 2010
I fired up fdisk and got this warning:
WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
switch off the mode (command 'c') and change display units to
sectors (command 'u').
I didn't even know that my previous Linux installs where DOS-compatible in any way!
In another forum (I each day visit a lot of them) a user was stating that you need to set a boot flag to make the root partition bootable, if you create partitions with GParted in order to install a Linux with GRUB2. Another was suggesting that, if you install Linux with GRUB2, the installer automatically sets a boot flag to the root partition to make it bootable (I don't remember the names). I neither believe the first nor the second thesis and I'm hoping that in this excellent forum some Gurus not only are saying I'm right but also give a comprehensive answer.
I'm trying to create a shell script to take an argument and use it to name a terminal tab. So if the script's name is tabnm, tabnm "test" should rename the current tab "test"
This is my code:
#!/bin/sh echo -ne "e]1;$1a"
but when i run it I get this output:
robin@icarus $ sh tabnm.sh test -ne e]1;test
If I just run echo -ne "e]1;Testa" straight in the shell, the tab is renamed.
I am using Rsync to backup files to a another machine, the users on my fileserver do not exist on the backup server so Rsync throws errors about the permissions. It copies the files fine but I want to get rid of the errors and have Rsync ignore the permissions when backing up. /backup is a mounted ftp directory
Below is the current command and output: Code: root@Fileserver:~# rsync -av --delete /shared/fileshare/ /backup/backup building file list ... done created directory /backup/backup ./ manager/ ..... rsync: chown "/backup/backup/manager/.chironfs.txt.c6MbJ7" failed: Operation not permitted (1) rsync: chown "/backup/backup/manager/.cronman.txt.hdBG4P" failed: Operation not permitted (1) ..... sent 211115 bytes received 274 bytes 7686.87 bytes/sec total size is 210263 speedup is 0.99 rsync error: some files could not be transferred (code 23) at main.c(977) [sender=2.6.9]
I installed cygwin with rsync on a Win XP Machine. My goal is to backup a folder from one hard drive to another (both on XP machine).
I run the following command from a batch file:
Works fine except the --delete flag is not working. Copies everything in source to destination, but doesn't delete some extra files that are present on the destination, but aren't on the source, which it's supposed to. I looked at the rsync man page, and I'm doing everything right... such as not using wildcard.
The same command works perfect on another computer (XP machine; source and dest both on XP machine).
I have knowledge to make partitions unders windows using fdisk. In Red Hat there is also a fdisk command but how can I use it? In which situations we use linux fdisk ?
I have used fdisk command in windows environment.Just insert a bootable cd having fdisk into cdroom and start hard disk partitioning. I have been working in red hat/fedora Linux since many months.I always use gui interface to do my hard disk partition. Well i am eager to learn Fdisk under Linux. How can I use it ,Its method to create a a fdisk cd or it is in the 1st cd of the operating system ?
I have tried to install both wubi ubuntu and linux mint8 both times they start I see the new desktop briefly then I get a "no signal" flag on my display But I can hear the startup chime as the program finishes loading!
PC1 and PC2 are linux pc's with linux 2.4 (or) 2.6 kernel installed on it.Observations are done on both 2.4 kernel and 2.6 kernel Problem explination:
1)PC1 "ifconfig eth1 down" on linux shell. 2)Check the "ifconfig eth1" on PC2 3) The running flags are unset first(disappear)and set(Re-appear) on the eth1 interface on PC2.
4) unset and set toggling happens with in short period of time about 1 or 2 secs.
This is clearly observed in linux 2.4 kernel with some time delay for the toggling, but 2.6 kernel this will happen every quickly..
How to update /dev directory after creation of new partition on a disk? I have the udev installed, it works perfectly except this. The new devices appear only on reboot.
I am trying to install gnome-bin 1.4.2 from source but it is telling be I need my Berkeley DB to have 1.85 compatibility mode - how do I do this? I've tried both the libdb4.2-dev package (which give the error below) and the libdb1-dev package (which tells me I am missing DB support all together).
Code: checking for dbopen... no checking for dbopen in -ldb... no checking for dbopen in -ldb1... no checking for __db185_open in -ldb-3... no checking for __db185_open in -ldb-4... no
configure: error: Your db library is missing db 1.85 compatibility mode. How do I get Berkeley 1.85 compatibility mode on my system?
I am an activist. I am becoming concerned with security on line because I have posted videos exposing SERIOUS corruption within the government at all levels. With all the recent claims of executive authority in the name of cyber security and govt eavesdropping I am interested in finding a more secure op sys. Windows is to vulnerable. I have an HP7845 Sound Blaster 64 Sound card. Radeon 9800 video card. I have a large volume of videos and media/research reports I cant afford to lose. How easy is the conversion? And also concerned with software. Will programs work the same or at all?Is my equipment even compatible with other opsystems. Is there a risk of glitches that would curtail my efforts after attempting the change. I KNOW NOTHING about other systems hell I can barely run XP. However I would hate to lose files or go through a months long debugging venture.
i'm in need of my hard drive & usb flash drive numbers, but when i do fdisk -l i get no results - it just gives me the prompt as if i've pressed the enter key on my k/board.
I used GParted to delete my first partition,then moved my second partition to the beginning of the disk. That all went well, but the partition table still shows an unused entry of 0 blocks listed at partition 1. How do I get rid of that entry and make my old second partition sda1?
I have a server with RHEL 5. I have bought a HDD and put it into a USB box. Then I plug it to my server by USB cable. I want to mount it but the fdisk -l command don't show external usb device.
fdisk -l > ~/fsLabLog i get a error message disk /dev/dm-0 doesn't contain a valid partition table. disk /dev/dm-1 doesn't contain a valid partition table.
had trouble viewing partition table using fdisk, now realised i just cudnt view the whole table from Rescue terminal, please remove this thread, i can't find how ))
If Apache license 1 and 1.1 are not compatible with GPL v2 and GPL v3 and the only compatibility is Apache License v2 with GPL v3 how can android kernel be GPL v2 and userspace programs be Apache License 2? More specifically GPL v2 requires all derived works and programs to have the same license as it has, therefore Apache shouldn't be allowed inside android. I've read on a website something like "Google created one middle layer between Linux kernel, without violating GPL. And 3rd party can't see the source code of hardware driver and app" and then "So in oder to get more vendor support, Google specifically modified Linux Kernel, transfer those features which should belong to Kernel, to its userspace source." The above seems vague explanation, even if you put a middle layer this middle layer becomes GPL and anything above as well.