I installed Ubuntu on my external hard drive but it won't boot on my laptop. It works fine on my desktop but not my laptop. It says it can't find root... what do i do?
Is it possible to dual boot between Ubuntu and W7.vhd? If anyone knows please tell me how.
if you can answer to [email protected] would be perfect. Thanks
I created a partition on USB harddisk in windows and it reports to be an NTFS partition.
Yet in ubuntu 9.10 fdisk says it a FAT16 partition. If I mount with -t ntfs I see nothing, but if I mount without it I see all the files.
Can anyone tell me whats going on here?
Windows computer disk management definately says its NTFS, and a quick look at the raw data suggests it is NTFS, as I know the FAT16 very well.
Hello,
I've just installed ubuntu 10.10 on my laptop its all great but the screen resolution is a bit crap i have it set 1200:800 and when i do xrandr it indicates that the i can have a bigger screen resolution but i dont seem to to be able to increase it more 1200:800.
another interesting thing is that xorg.conf does not exist on the /etc/X11/
is there a way to increase the screen resolution for Sony laptops?
the graphics card is Intel Graphics
Please help!
I have window server which shares the folder called wwwroot.
In my ubuntu that window computer is not visible.
When i press ctrl + L
and type smb://window-comp-name/wwwroot
Then it works
I tried mounting that folder using
sudo mount smb://SERVER/wwwroot /media/dir1
but it didn't work
i have ubuntu 10.10 x86_64 with nvidia 9800 gt and nvidia driver version 270.41.06
my video card has two DVI sockets, but i only use single monitor configuration. Now, i think the main DVI socket might be busted, so i want to try to enable the other as the main one, however, i don't know how to achieve that. I tried just plugging the monitor in that socket but it won't just auto-detect (it would have been way too easy to just work)
I have installed ubuntu on my server.
I want the cronjobs to send me emails for output.
How can i send emails from terminal . which thing i have to install and how will i put smtp or pop setting in that program
I use Ubuntu 11.04 and Gnome 2.32.1.
I want to create a new launcher for Sql Developer on the desktop with the following value :
Name : SqlDeveloper
Command : /bin/sh /opt/sqldeveloper/sqldeveloper.sh
Icon : A icon in the directory of sql developer
When I click or double-click on the launcher nothing happens.
$ ls -l /opt/sqldeveloper/sqldeveloper.sh
-rwxr-xr-x /opt/sqldeveloper/sqldeveloper.sh
What should I do ?
I saw the intel-microcode in the ubuntu repositories and was wondering if it was worth installing on my Yorkfield-6M based system. If so, what are the benefits from this package?
I'm using Firefox 3.5.9 in Ubuntu 9.10. The "Clear recent history" menu item on the Tools menu is greyed out. I tried launching Firefox using sudo from the command line, but no luck. What gives?
I was using my LCD monitor with my laptop properly with Windows 7. But I am facing a problem in Ubuntu.
It connects in a proper way but on pressing backspace it automatically moves back to my laptop screen. Sometimes pressing any key moves back to my laptop screen.
How can I fix this behavior?
What is the standard/correct way to re-install grub2?
I am using liveusb right now and i am unable to boot into Ubuntu on my hard drive.
Partitions are as follows:
/dev/sda1 1 3917 31463271 7 HPFS/NTFS
/dev/sda2 3918 10444 52428127+ 7 HPFS/NTFS
/dev/sda3 10445 15671 41985877+ 7 HPFS/NTFS
/dev/sda4 15672 19457 30411045 5 Extended
/dev/sda5 * 15672 17711 16386268+ 83 Linux
/dev/sda6 17712 19457 14024713+ 83 Linux
Pleas help.
thanks
I'm currently running Windows XP, but have ordered Windows 7. I want to keep Windows XP on a separate partition, and install Ubuntu as well.
In which order should I install the OSs, and is there anything differing from an ordinary single-system install I should keep in mind? For example, does the order of partition make any difference? If I want to have the system drive as "C:" drive in both Win XP and Win 7, what should I do?
My laptop harddrive has developed some serious read errors in the windows partition. Windows 7 still boots but every single action takes an aeon, and it is definitely due to a harddisk error not due to any spyware. I'm using the Ubuntu partition now. I've ordered a new harddrive but my laptop didn't come with a Windows 7 install disk (I think I was meant to make one with the windows 7 tools).
So how can I install Windows 7 on my new harddrive?
I need to have two instances of Tomcat 6 running on Ubuntu 10.04. I know it should be doable pretty simply by something like:
copy /var/lib/tomcat6 to /var/lib/tomcat6-2
modify ports in /var/lib/tomcat6-2/conf/server.xml
copy /etc/init.d/tomcat6 to /etc/init.d/tomcat6-2
modify /etc/init.d/tomcat6-2...
...but my problem is that I'm unsure what I should modify in /etc/init.d/tomcat6-2. Chaging the NAME in the beginning of the file clearly is not enough.
When provisioning new Ubuntu Precise (12.04) servers, the hostname they're getting seems to be generated from the DNS search path, not a reverse lookup on the hostname.
Take the following configuration
BIND is configured with the hostname, and reverse name
Normal zone
$TTL 600
$ORIGIN srv.local.net.
@ IN SOA ns0.local.net. hostmaster.local.net. (
2014082101
10800
3600
604800
600 )
@ IN NS ns0.local.net.
@ IN MX 5 mail.local.net.
my-new-server IN A 10.32.2.30
And reverse
@ IN SOA ns0.local.net. hostmaster.local.net. (
2014082101
10800
3600
604800
600 )
@ IN NS ns0.local.net.
$ORIGIN 32.10.in-addr.arpa.
30.2 IN PTR my-new-server.srv.local.net.
Then DHCPD is configured to hand out static leases based on mac addresses like so
subnet 10.32.2.0 netmask 255.255.254.0 {
option subnet-mask 255.255.254.0;
option routers 10.32.2.1;
option domain-name-servers 10.32.2.1;
option domain-name "util.of1.local.net of1.local.net srv.local.net";
site-option-space "pxelinux";
option pxelinux.magic f1:00:74:7e;
if exists dhcp-parameter-request-list {
option dhcp-parameter-request-list = concat(option dhcp-parameter-request-list,d0,d1,d2,d3);
}
group {
option pxelinux.configfile "pxelinux.cfg/pxeboot";
host my-new-server {
fixed-address my-new-server.srv.local.net;
hardware ethernet aa:aa:aa:bb:bb:bb;
}
}
}
So the hostname should be my-new-server.srv.local.net, however when building a Ubuntu 12.04 node, the hostname ends up as my-new-server.util.of1.local.net
When building Lucid (10.04) hosts, the hostname will be correct, it's only on Precise/12.04 nodes we have the problem.
Doing a normal and reverse lookup on the host and IP returns the correct result
Sams-MacBook-Pro:~ sam$ host my-new-server
my-new-server.srv.local.net has address 10.32.2.30
Sams-MacBook-Pro:~ sam$ host my-new-server.srv.local.net
my-new-server.srv.local.net has address 10.32.2.30
Sams-MacBook-Pro:~ sam$ host 10.32.2.30
30.2.32.10.in-addr.arpa domain name pointer my-new-server.srv.local.net.
The contents of the hosts file is incorrect too
127.0.0.1 localhost
127.0.1.1 my-new-server.util.of1.local.net of1.local.net srv.local.net my-new-server
So it looks like when it creates the hosts file, it puts the entire contents of the DNS search path into the local address so the FQDN according to the server is the short hostname as defined, then the first domain in the search path.
Is there a way to get around this behaviour, or fix this so it gets the hostname correctly? It's picking up the first part of the hostname, then the rest is wrong.
Hi, I recently stopped the postgresql database (that was working perfectly), and after a couple of days, when I try to start it, I get the errors:
2011-01-03 23:56:27 CLST LOG: could not translate host name "localhost", service "5432" to address: Name or service not known
2011-01-03 23:56:27 CLST WARNING: could not create listen socket for "localhost"
2011-01-03 23:56:27 CLST FATAL: could not create any TCP/IP sockets
I'm running Ubuntu 9.1, and I'm using the usuals
/etc/init.d/postgresql-8.4 start and stop
Any hints ?
I've just made a fresh installation of Ubuntu 10.04 on my Dell Inspiron 1420. Without updates, I'm not able to play media files. Is there any procedure to install updates via offline as I don't have a internet connection at home.
Thanku.
I recently installed postfix on Ubuntu Natty. I'm having a problem with the configuration.
Firstly here is my postfix configuration file:
# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
myorigin = /etc/mailname
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no
# appending .domain is the MUA's job.
append_dot_mydomain = no
# Uncomment the next line to generate "delayed mail" warnings
delay_warning_time = 4h
readme_directory = no
# TLS parameters
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.
mydomain = $myorigin
myhostname = mail.nairanode.com
alias_maps = hash:/etc/postfix/aliases
alias_database = hash:/etc/postfix/aliases
# this specifies where the virtual mailbox folders will be located
virtual_mailbox_base = /var/spool/mail/virtual
# this specifies where the virtual mailbox folders will be located
virtual_mailbox_base = /var/spool/mail/virtual
# this is for the mailbox location for each user
virtual_mailbox_maps = mysql:/etc/postfix/mysql_mailbox.cf
# and this is for aliases
virtual_alias_maps = mysql:/etc/postfix/mysql_alias.cf
# and this is for domain lookups
virtual_mailbox_domains = mysql:/etc/postfix/mysql_domains.cf
# this is how to connect to the domains (all virtual, but the option is there)
# not used yet
# transport_maps = mysql:/etc/postfix/mysql_transport.cf
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
mydestination = $myorigin, $myhostname, localhost.localdomain, , localhost
relayhost =
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
#mynetworks_style = host
# ADDITIONAL
unknown_local_recipient_reject_code = 550
maximal_queue_lifetime = 7d
minimal_backoff_time = 1000s
maximal_backoff_time = 8000s
smtp_helo_timeout = 60s
smtpd_recipient_limit = 16
smtpd_soft_error_limit = 3
smtpd_hard_error_limit = 12
# Requirements for the HELO statement
smtpd_helo_restrictions = permit_mynetworks, warn_if_reject reject_non_fqdn_hostname, reject_invalid_hostname, permit
# Requirements for the sender details
smtpd_sender_restrictions = permit_mynetworks, warn_if_reject reject_non_fqdn_sender, reject_unknown_sender_domain, reject_unauth_$
# Requirements for the connecting server
smtpd_client_restrictions = reject_rbl_client sbl.spamhaus.org, reject_rbl_client blackholes.easynet.nl, reject_rbl_client dnsbl.n$
# Requirement for the recipient address
smtpd_recipient_restrictions = reject_unauth_pipelining, permit_mynetworks, reject_non_fqdn_recipient, reject_unknown_recipient_do$
# require proper helo at connections
smtpd_helo_required = yes
# waste spammers time before rejecting them
smtpd_delay_reject = yes
disable_vrfy_command = yes
Here is also my /etc/postfix/aliases:
# See man 5 aliases for format
postmaster: root
Here is also my /etc/mailname:
nairanode.com
I've also updated my hostname to nairanode.com
However, when I run postalias /etc/postfix/aliases I get the following :
postalias: warning: valid_hostname: invalid character 47(decimal): /etc/mailname
postalias: fatal: file /etc/postfix/main.cf: parameter mydomain: bad parameter value: /etc/mailname
Is there something I'm doing wrong?! I noticed that when I replace myorigin = /etc/mailname with myorigin = nairanode.com in my postfix config, I don't see any errors anymore after calling postalias. Is this a bug or something?!
My only issue that is stopping me from moving to Linux is the dual monitor support. If I use TwinView, maximizing an application causes it to take over both monitors, not maximize in the current monitor the way it works in Windows. If I use two separate X windows, certain programs default to a specific monitor with no way of moving it to the other desktop. Has anyone else had these issues? Are there any detailed dual monitor resources.for Linux/Ubuntu I can read?
I have Ubuntu 10.04 guest on Windows XP host. I need to use a specific VPN software that works only on Windows. How should I configure virtualbox/guest so that the VPN connection would be visible on guest?
I already tried NAT and bridged network settings. With both of these options I get only normal internet connection to work, but sites requiring VPN don't work on guest, only on host.
hi
I want to setup a system for a domain which enable me to charge money into user's account for printing.
I am using Ubuntu server 8.04 and installed samba server for creating domain but I don't know how to handle my problem.
does anyone has any idea?
Which command should I use to download security uodates for Ubuntu Hardy?
Ideally would like the command to also create a log file listing files downloaded, install and any errors.
Thanks for help.