Ubuntu Installation :: Inspect And Evaluate The Mbr On A Disk?

Aug 5, 2011

How can i inspect and evaluate the mbr on a disk in a computer?

I'm interested in how to do this in general.

I can use gparted to see the partitions on a disk, but i don't know how to use it, or any other tool, to see just what is in the mbr.

The particular situation i'm in is that i have two disks in my computer. One has ubuntu 10.10 on a single partition, and one has 11.04 on one of 4 partitions.

The 11.04 disk used to be bootable, but somehow i messed up the disk: longer story: i installed another os on another partition, and the other os redid the mbr and installed a different version of grub, and i tried to reinstall grub but ended up with a disk that wouldn't boot. So i put my old 10.10 disk back into the machine so that i could at least boot and look around on the 11.04 disk.

Now, there are probably ways that i could recover the 11.04, but i would like very much to be able to systematically analyze the 11.04 disk to determine its exact current state before modifying it.

Since the disk is not mounted it seems like this should be in reach: i want to be able to (a) capture the mbr from the 11.04 disk [into, say, a file on the 10.10 disk] (b) get an analysis of what the mbr would do (where it points to etc, and what is at where it points to) (c) get any high level information which can easily be determined from (a) and (b).

View 5 Replies


ADVERTISEMENT

Fedora Installation :: Evaluate The Checksum - Burned A CD With The Disc1.iso

Apr 1, 2010

I've downloaded the

Fedora-12-x86_64-disc1.iso
Fedora-12-x86_64-disc2.iso
Fedora-12-x86_64-disc3.iso
Fedora-12-x86_64-disc4.iso
Fedora-12-x86_64-disc5.iso

files. I then downloaded "Fedora-12-x86_64-CHECKSUM" and ran sha1sum.exe on my iso files and compared the results. They were wrong for all 5 iso files. Figuring there was a problem with the way I was trying to evaluate the checksum I burned a CD with the disc1.iso. I received a "INSERT A BOOT DISK" error from my machine. I then tried downloading the disc1.iso again and ran checksum on my newly downloaded file and get the same checksum on both the old and new disc1.iso files.

When I run:

I get the response:

It seems to me the checksum value should be:

What am I doing wrong? I've installed many different distros in the past and am pretty sure I burned the iso file not just copied it to the CD.

View 4 Replies View Related

Networking :: Inspect SSL Traffic On LAN

Dec 1, 2010

I'm trying to inspect network traffic from my iPhone / iPad / Kindle / other wi-fi only consumer electronic device. To do this I man-in-the-middle myself (connect laptop to LAN via wire, create wireless Ad-hoc network, bridge the connections, then connect my device to the ad-hoc wi-fi network) and use Wireshark to watch the traffic.

In the past this has been adequate for my needs (just wanted to watch and see what potentially private info was being leaked about me / see that banking / amazon / etc apps were going over SSL). Now I've noticed that applications are almost all using SSL (which is great) but they are way to active for my taste. I'd like to use these apps but want to know what's happening in the background. I know that corporations dead-end SSL connections at their proxys to inspect the traffic and then re-establish the connection on behalf of the user for the trip across the internet. While I find the corporate use a bit distasteful, I think this is exactly what I'd need to do to myself. Any suggestions for how to do so or other ideas on how to get the packets in the clear?

View 3 Replies View Related

General :: How To Compile Gstreamer - Gst-inspect Can't Cd

Dec 8, 2010

I am able to compile gstreamer just fine, but when I port it to the platform where I want to use gstreamer gst-inspect comes back with: "can't cd to /home/MY_HOME_FOLDER".

MY_HOME_FOLDER is the folder where gstreamer and all of its tools got compiled in.

So, how do I tell configure script (or whatever decides to remember this path) to use common Linux paths so when I port gst-inspect to /usr/bin it would work OK?

View 1 Replies View Related

Networking :: IPTables - Inspect / Modify DNS Requests?

May 10, 2010

I'm trying to work out a way to inspect/modify dns requests as an advertising filter. Iptables is a good place to do this, but I'm having some problems disassembling the packet. On my dev box, when a DNS reply is returned from a request made on the dev box. I use this rule to route the reply packet through a queue:

iptables -A INPUT -p udp --sport 53 -j NFQUEUE --queue-num 1

Will the rule catch the inbound udp packet with the dns reply in it? I get something in the queue, but it's unintelligible when attempting to disassemble the packet. I don't want to move onto looking at my program until I get some feedback on the rule.

Here's a primitive diagram of what I'm working towards:
host ->DNS request->iptables(no outbound rules)-> DNS Server
->DNS Answer ->iptables(queue udp 53 packets)
->inspect packet program-> Allow/Deny -> host processes allowed packets

View 1 Replies View Related

Networking :: Inspect Ports Or Packets For Outgoing Email?

Aug 2, 2010

My server ended up on 1 (just 1) block list and I'm finding it very difficult to convince myself that it was just an error of some kind.Can anyone think of any giveaways at the packet or port level that some program is sending spam from my server without using the normal MTA (nothing suspicious is showing up in the sendmail logs)

View 9 Replies View Related

Software :: Program To Inspect Harddisk Location Of Files?

May 9, 2010

Does anybody here know a program (Linux-based or even Windows-based) which permits looking at the files structure of a harddisk in such a way that you can find out what file lies where on the harddisk?To specify further what I mean, back in the DOS days the Norton Utilities would show the distribution of files on a harddisk. It would show the harddisk as row upon row of rectangles, marked as used or not used, and the top left rectangles were the beginning of the harddisk while the lower right were the end of it.Now if a program put some files at the end of the harddisk it was possible to mark the filled rectangles and find out exactly which files were there.

View 9 Replies View Related

Ubuntu Servers :: Evaluate What Started The MySQL Daemon?

Oct 13, 2010

I installed MySQL on my Ubuntu 10.04 desktop. As I need it only once a month I removed it from all runlevels but mysql is still running after boot up. "lsof" shows that it is running and listening for connections.

Code:
neo@ubuntu:~$ sudo lsof -i
[sudo] password for neo:
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
sshd 927 root 3u IPv4 7819 0t0 TCP *:ssh (LISTEN)
sshd 927 root 4u IPv6 7821 0t0 TCP *:ssh (LISTEN)
avahi-dae 945 avahi 12u IPv4 8107 0t0 UDP *:mdns
avahi-dae 945 avahi 13u IPv6 8108 0t0 UDP *:mdns

[Code]...

How can I evaluate what started the MySQL daemon? WHy is it running?

View 1 Replies View Related

OpenSUSE Hardware :: How To Evaluate Cpu/processor Performance

Aug 23, 2010

Are there any tools available in openSUSE for evaluating cpu/processor performance. My processor/cpu is under warranty til end of October, will like to know whether I need to get new one or i am good. I am looking for something that can log an event and report. Have tried stress and crashme but they dont show any results.

View 9 Replies View Related

General :: Evaluate Size Of Output Command?

Nov 18, 2010

I'm trying to do something like this:

Code:
#!/bin/bash
cmd1=$(cat /var/log/messages | grep -e 'blocked for more than 120 seconds' | cut -c 55-62)
if $cmd1 != 0; then echo 'okay'; fi

however i'm messing up somewhere... bash attempts to evaluate the elements in cmd1. when I try to run this script it complains saying:

Quote:

test1.sh: line 5: blocked: command not found

I am open to alternatives. My intent is to replace cat /var/log/messages with dmesg, so I can attempt to determine if a problematic application I use encounters a blocked state (unresponsive for more than 120 seconds).

Should I be using a different test condition? I tried something like:

Code:
# this declares cmd1 as an array
cmd1=($(cat /var/log/messages | grep -e 'blocked for more than 120 seconds' | cut -c 55-62))
#attempt to determine if number of elements in array is greater than zero
if ${#cmd1[@]} > 0; then echo okay; fi

But I get the same error... what am I doing wrong?

View 3 Replies View Related

Fedora :: Evaluate The Ext3 File System Performance

Apr 13, 2010

I need evaluate the ext3 file system performance; i need define:

- services provided
- parameters and
- the performance with different parameter values; for example, changin the value of the "data" parameter (journal, ordered, writeback).

I do not know what services ext3 provides. Well, i know intuitively that it provides services to read, write and erase files. But, there are anything more?. Where can i find the API?. Is the ext3 file system POSIX compliant?

View 7 Replies View Related

OpenSUSE Network :: Using Nessus To Evaluate Security Of Web Server?

May 7, 2010

I am using nessus to evaluate the security of a web server. I have started up the nessus daemon on the server, here's the netstat output:

Code:
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:ldap *:* LISTEN 3565/slapd
tcp 0 0 *:mysql *:* LISTEN 4026/mysqld
tcp 0 0 *:pop3 *:* LISTEN 3584/xinetd
tcp 0 0 *:sunrpc *:* LISTEN 3463/portmap
tcp 0 0 *:www-http *:* LISTEN 13855/httpd2-prefor
tcp 0 0 *:ssh *:* LISTEN 3577/sshd
tcp 0 0 *:nessus *:* LISTEN 6118/nessusd: waiti
tcp 0 0 *:smtp *:* LISTEN 3636/master
tcp 0 0 *:https *:* LISTEN 13855/httpd2-prefor
udp 0 0 *:sunrpc *:* 3463/portmap

It's listening on the default nessus port 9390. I am trying to connect to the nessus server instance using Open-VAS Client. I have generated the client and server certificates, I have pointed the client at the User Certificate File, the User Key File and I have a CA cert. I have created a user account on the nessus server. The problem is that when I try and log in from the Open-VAS client it keeps saying it can't connect. Is there anywhere I can check to see if it's being caught in a firewall, or where I can see if the connection is even making it to the server..

View 4 Replies View Related

Programming :: Script To Evaluate If A Passwd File Has Changed

Apr 6, 2010

creating a script which evaluates whether or not the passwd file has changed.

View 4 Replies View Related

Programming :: Bash: Regexp In 'if' Doesn't Evaluate Correctly

Mar 1, 2011

I'm using an 'if' statement to check whether one of positional arguments is a word or a construction like "x-y", but something doesn't seem right.

Here is the relevant part of the code:

Code:
if [[ "$3" =~ [a-Z]-[a-Z] || "$3" =~ [a-Z] ]]; then
grepRange=$3; else grepRange=$4
fi
And for the input like this:

[Code]....

but shouldn't the $grepRange variable be blank in this case?

Bash version is 4.1.7(1)

View 6 Replies View Related

General :: Referance To The Bash Shell / Use The Test Command To Evaluate?

Nov 8, 2010

Cis 140 student.how to use the test command to evaluate whether the shell variable I create contains a referance to the bash shell? and use the echo command to determine the result.

View 1 Replies View Related

Ubuntu Installation :: 9.10 - Non-system Disk Or Disk Error With Manual Partitions

Apr 9, 2010

This is the third 9.10 install to do this on two different laptops, so wondering what's up...

In both cases, the goal was to leave a large chunk of unpartitioned disk after the Ubuntu partitions, for a second OS install or a filesystem Ubuntu cannot create like NTFS.

When I install with manual partitions, the system can't boot and asks for me to insert a system disk and press any key. When I reinstall telling Ubuntu to "use the entire disk" it then works.

First laptop, first try:

Remainder of the 500GB disk is free space.

Fails to boot, "insert system disk".

First laptop, second try without the /boot partition:

Remainder of the 500GB disk is free space.

Fails to boot, "insert system disk".

"use entire disk" works perfectly.

Second laptop, first try:

Same thing, non-system disk or disk error, insert system disk.

Second try "use entire disk" is currently in progress but I expect the same to happen.

View 3 Replies View Related

Ubuntu Installation :: Error "pyrun.exe - No Disk There Is No Disk In The Drive

Jun 14, 2011

I downloaded the latest version of wubi and when I click to run i get the error "pyrun.exe - No Disk. There is no disk in the drive. insert a disk into drive DeviceHarddisk2DR2".

View 2 Replies View Related

Ubuntu Installation :: Unplug Disk, Can't Boot Winxp Disk?

Aug 22, 2010

WinXp sp3 is on disk sdb, then installed Ubuntu 10.04 on sda, can go into diff OS without any problem. I am going to move sda to another machine, when I unplug sda, WinXp can't start to boot on sdb. How to fix it?below is my case output$ sudo fdisk -l

Disk /dev/sda: 160.0 GB
...
Device Boot Start End Blocks Id System

[code].....

View 2 Replies View Related

Ubuntu Installation :: Migrate Working Single Disk System To Existing RAID Array Using Disk UUIDs

Aug 1, 2010

I had done a new lucid install to a 1 TB RAID 1 array using the alternate CD a few weeks back. I messed up that system trying to some hardware working that lucid doesn't have drivers for yet, so I gave up on it and reinstalled to a single 80 GB disk that I now want to move over to the RAID array.

I moved all of the existing files on the array to a single folder, then copied all of the folders from the 80 GB disk over to the array with permissions and symlinks (minus the contents of /proc and /sys, which I created empty).

These are the commands I used:

Quote:

p -a -d -R -v -t /media/raid_array /b*
cp -a -d -R -v -t /media/raid_array /d*
cp -a -d -R -v -t /media/raid_array /e*
cp -a -d -R -v -t /media/raid_array /h*

[Code]....

I tried to change fstab to use the 689a... for root, but when I try to boot, it's still trying to open /dev/disk/by-uuid/412d...

So then I booted from the single disk again and chrooted into the array, then ran update-initramfs -u. I got 3 "grep: /proc/modules: No such file or directory" errors, and "cat: /proc/cmdline: No such file or directory"- so I created directory /proc/modules, created an empty file /proc/cmdline, and ran the initramfs update again. Then I tried to shut down, which hung (probably because I was doing all of this from a terminal window in Gnome), so I killed the power after a couple of minutes.

It's still trying to use /dev/disk/by-uuid/412d... to boot.

What am I missing? I assume I just have to change the UUID to mount as root, but I don't know how.

View 2 Replies View Related

Ubuntu Installation :: Use Ram Instead Of Disk - Write To Disk At Shutdown

Mar 21, 2011

I have a netbook I'm not using and which I transformed into a server with Apache, Tomcat6, Netatalk, Webmin, BIND9 and Tor.

Problem is, the disks never stop spinning because all of the programs write a few kb at least every few seconds to disk, even when nobody is connected to it.

My question is: Is there a way to have the computer boot from disk like normal (maybe even a squashfs), keep ALL CHANGES to ram and then save to disk when either the ram is full (unlikely because the server is rebooted every few days) or at shutdown?

I thought about a mixture of ramfs and unionfs but I'm not good enough yet...

View 4 Replies View Related

Debian Installation :: No Boot Disk Has Been Detected Or Disk Has Failed

Nov 3, 2015

I installed Debian on my PC with a Acer Stock motherboard (xc600) with amd64 and after the installation finished it told me to remove my installation media and reboot. After reboot I was returned this message ' ERROR: No boot disk has been detected or the disk has failed.'. I have verified with gparted using mint live OS that I have Debian installed on my system.

I got believes that this may have be caused by a broken grub or I need to configure something I don't know how in BIOS.

I will update the topic later..

My installation media was a USB 2.0 flashdrive with a Debian 8.2 Jessie Installer and 9 different Linux distros. I have installed Debian multiple times before on my laptop and never had this problem so I know how to go through the installation process and set the partitions.

View 3 Replies View Related

Fedora Installation :: Installing On New Disk But Killed Old Install Of Fc8 On Another Disk

Mar 15, 2009

I have xp/fc8 on an older ide drive and just installed a new sata 1T and planned to put fc10 on it but in the process I killed my fc8 installation. I told the installer that the other disks were off limits but it was somewhat confusing at the bootloader page. So, I suspect that I told it boot off the fc8 disk. If that is the case is there a way to restore the fc8 install by somehow rescuing the /boot partition on the fc8 disk?

View 14 Replies View Related

Debian Installation :: Non-system Disk Or Disk Error ?

Jan 22, 2011

After installation of debian, using the squeeze net-installer, on a HP elitebook 6930P, i get the following error. "non-system disk or disk error"

It is right after boot process, and just when it should load grub. Grub is installed in the MBR. Windows7, is installed as well, and is not an option to remove. (Should not be the problem though).

/ is set with the bootable flag.

The installation went without any issues, and I have actually tried to install twice with the exact same thing.

View 6 Replies View Related

Fedora Installation :: How Can I Install From Disk Or Do I Need To Get Another Disk?

Apr 20, 2009

i have been away from linux for a long while and decided to try it out again. i just received a fedora 10 dvd and went to install it.it wouldn't boot on either my laptop or pc?so i explored the disk and realised its a source disk?

1 = is the dvd disk any good to me?
2 = how can i install fedora from the disk or do i need to get another disk?

View 5 Replies View Related

Ubuntu Installation :: Copy Hard Disk Have 10.04 And Ext4 To 1000 Hard Disk?

Sep 23, 2010

I want to copy hard disk have ubuntu 10.04 and ext4 to 1000 hard disk for new 1000

View 2 Replies View Related

Ubuntu Installation :: Increasing Disk Space On A Wubi Installation?

Mar 1, 2011

Is it possible to increase the disk space for a Wubi installation?

View 3 Replies View Related

Ubuntu Installation :: Remove The Installation And Get The Disk Space Back?

Sep 1, 2011

I have never had to do this before But I'm giving my laptop to my mother when my new one arrives and I need to remove the ubuntu installation and get the disk space back.

A few months ago the install stopped working. I can't remember what the error said... and tbh I can't be bothered to reboot twice to read it, but it has to be removed now anyways.

Had a look in windows to see if I can do anything in the disk manager, but it appears I can't. Oh wise ones, please, which path should one take?

View 3 Replies View Related

Ubuntu Installation :: USB Hard Disk Installation Does Not Boot?

Oct 31, 2010

I have installed Kubuntu on external WD HDD , it does NOT boot on this laptop but works on couple of other laptops , attached is the results txt output of the boot_info...sh.I can boot with USB flash drive that has kubuntu live Cd image when I use the external HDD ,it gives a blinking cursor only

View 9 Replies View Related

Ubuntu Installation :: Encrypt Hard Disk In 10.10 After Installation?

Nov 18, 2010

There was an option during installation of 10.10 to encrypt the hard disk (or was it only the home folder?). I thought, hmm, I should probably do this, but I'll decide later, thus, installed 10.10 without encrypting the hard disk.Now, I want to encrypt the hard disk but don't see anywhere in the System Preference or Administration where I can do that. Am I missing it? Or how do I do this now?

View 1 Replies View Related

Ubuntu Installation :: Disk Partitioner Freezes On Installation?

Dec 18, 2010

I'm a complete noob trying to install Ubuntu Server 10.10 on my first build for use as a file/media server.When I get to the step to partition the drives, the installation freezes. The screen says "Starting disk partitioner" and the progress bar stops at 45%. It has done this three times now, and the longest I waited for it before rebooting was over an hour.I am installing from a flash drive containing the .iso file, and I have the following hardware (in case that matters): asus p7h55-m pro mobo, core i3-540 CPU, 2x4GB ram, WD caviar green 1.5TB, WD caviar green 1TB, and Kingston 8GB SSD.

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved