[olug] Ubuntu 10.4 boot question (long)

Joe Gulizia jrguliz at yahoo.com
Tue Jul 13 14:21:31 UTC 2010


Windows has already been re-installed on one drive.  Ubuntu 10.04 is on drive two.

I found the following using an Ubuntu 10.04 live Disk.



root at ubuntu:~# cd /media
root at ubuntu:/media# ls -a
8479d8a4-9992-4670-b5e8-ff4147085472    (176 GB external drive)
a9f0d640-d56b-4c79-877c-e1db0d55a302    (Linux drive)
6E5C85885C854BB1/                (Windows drive)

root at ubuntu:/media# cd 8479d8a4-9992-4670-b5e8-ff4147085472/

root at ubuntu:/media/8479d8a4-9992-4670-b5e8-ff4147085472# ls -a

Need to get permissions to write to this disk so I can copy files to it while in live CD mode




**  Partitions with GRUB or grub.d


root at ubuntu:/media# dir

14ecab14-566a-40f8-9f41-052bef66a832  7042ab7d-b5b2-4317-9b9f-d89b624eb8c4
1d47d87f-3e4e-4a4f-8ed8-de644488fd33  8479d8a4-9992-4670-b5e8-ff4147085472
2ce476ad-84d0-4dbc-95f8-3e982edc6da5  9e9798b4-6878-4964-b5bc-317190941b26
39dce593-a669-40c1-bd91-b3d1d6791b4c  **a9f0d640-d56b-4c79-877c-e1db0d55a302
3c14da9c-e191-4d3c-afbc-7cb41c953068  b3096319-99c1-4dbe-ae0d-c456c661433e
5ab64e38-0506-4ba0-95ad-33c7416b3a0e  **deb8df41-9617-4714-8eda-93b4d8937a18
6E5C85885C854BB1
root at ubuntu:/media# 

root at ubuntu:/media# cd deb8df41-9617-4714-8eda-93b4d8937a18/

3.1 GB   260.6 MB used  209 items, totalling 45.4 MB
(some contents unreadable)

root at ubuntu:/media/deb8df41-9617-4714-8eda-93b4d8937a18# dir
abi-2.6.32-21-generic          memtest86+.bin
abi-2.6.32-22-generic          System.map-2.6.32-21-generic
abi-2.6.32-23-generic          System.map-2.6.32-22-generic
config-2.6.32-21-generic      System.map-2.6.32-23-generic
config-2.6.32-22-generic      vmcoreinfo-2.6.32-21-generic
config-2.6.32-23-generic      vmcoreinfo-2.6.32-22-generic
grub                  vmcoreinfo-2.6.32-23-generic
initrd.img-2.6.32-21-generic  vmlinuz-2.6.32-21-generic
initrd.img-2.6.32-22-generic  vmlinuz-2.6.32-22-generic
initrd.img-2.6.32-23-generic  vmlinuz-2.6.32-23-generic
lost+found


root at ubuntu:/media/a9f0d640-d56b-4c79-877c-e1db0d55a302# dir
bin    etc       initrd.img.old  mnt     sbin      tmp       vmlinuz.old
boot   home       lib           opt     selinux  usr
cdrom  home-1       lost+found       proc  srv      var
dev    initrd.img  media       root  sys      vmlinuz

root at ubuntu:/media/a9f0d640-d56b-4c79-877c-e1db0d55a302# cd etc

root at ubuntu:/media/a9f0d640-d56b-4c79-877c-e1db0d55a302/etc# dir
acpi            grub.d             pcmcia
adduser.conf        gshadow             perl
akonadi            gshadow-         pm
alternatives        gtk-2.0             pnm2ppa.conf
anacrontab        hal             polkit-1
apm            hdparm.conf         popularity-contest.conf
apparmor        host.conf         ppp
apparmor.d        hostname         printcap
apport            hosts             profile
apt            hosts.allow         profile.d
at.deny            hosts.deny         protocols
avahi            hp             pulse
bash.bashrc        ifplugd             python
bash_completion        init             python2.6
bash_completion.d    init.d             qemu-ifdown
bindresvport.blacklist    initramfs-tools      qemu-ifup
blkid.conf        inputrc             rc0.d
blkid.tab        insserv             rc1.d
bluetooth        insserv.conf         rc2.d
bogofilter.cf        insserv.conf.d         rc3.d
bonobo-activation    iproute2         rc4.d
brlapi.key        issue             rc5.d
brltty            issue.net         rc6.d
byobu            kbd             rc.local
ca-certificates        kernel             rcS.d
ca-certificates.conf    kernel-img.conf      resolvconf
calendar        kerneloops.conf      resolv.conf
chatscripts        ksysguarddrc         rmt
checkbox.d        ldap             rpc
compizconfig        ld.so.cache         rsyslog.conf
computer-janitor.d    ld.so.conf         rsyslog.d
ConsoleKit        ld.so.conf.d         samba
console-setup        legal             sane.d
couchdb            lftp.conf         screenrc
cron.d            libpaper.d         securetty
cron.daily        locale.alias         security
cron.hourly        localtime         sensors3.conf
cron.monthly        logcheck         sensors.d
crontab            login.defs         services
cron.weekly        logrotate.conf         sgml
crypttab        logrotate.d         shadow
cups            lsb-base         shadow-
dbus-1            lsb-base-logging.sh  shells
debconf.conf        lsb-release         skel
debian_version        ltrace.conf         sound
default            magic             speech-dispatcher
defoma            magic.mime         ssh
deluser.conf        mailcap             ssl
depmod.d        mailcap.order         sudoers
dhcp3            manpath.config         sudoers.d
dictionaries-common    mime.types         sysctl.conf
dkms            mke2fs.conf         sysctl.d
doc-base        mlterm             terminfo
dpkg            modprobe.d         thunderbird
emacs            modules             timezone
environment        mono             timidity
esound            motd             ts.conf
ffserver.conf        mplayer             ucf.conf
firefox            mtab             udev
firefox-3.0        mtab.fuselock         ufw
fonts            mtools.conf         updatedb.conf
foomatic        mysql             update-manager
fstab            nanorc             update-motd.d
fuse.conf        netscsid.conf         update-notifier
gai.conf        network             vga
gamin            NetworkManager         vgrabbj.conf
gconf            networks         vim
gdb            nsswitch.conf         vlc
gdm            obex-data-server     w3m
gimp            openal             wgetrc
gnome            openoffice         wildmidi
gnome-app-install    opt             wodim.conf
gnome-system-tools    PackageKit         wpa_supplicant
gnome-vfs-2.0        pam.conf         X11
gnome-vfs-mime-magic    pam.d             xdg
gre.d            pango             xml
groff            papersize         xul-ext
group            passwd             xulrunner-1.9.2
group-            passwd-             zsh_command_not_found


root at ubuntu:/media# cd 6E5C85885C854BB1/     Windows Disk
root at ubuntu:/media/6E5C85885C854BB1# dir
013b4d01eb25384f3ee5      Export      RECYCLER
0a385cfe6e70c979ebef58      hpcmerr.log      System\ Volume\ Information
727ccfc7a7ac9ed731db0c      Intel          ubnldr
AUTOEXEC.BAT          IO.SYS      ubnldr.exe
$AVG              MSDOS.SYS      ubnldr.mbr
boot.ini          MSOCache      unetbtin
BSCAN              NTDETECT.COM      unetbtin.exe
$cans              ntldr          WINDOWS
CONFIG.SYS          pagefile.sys
Documents\ and\ Settings  Program\ Files

--- On Mon, 7/12/10, Kevin <sharpestmarble at gmail.com> wrote:

From: Kevin <sharpestmarble at gmail.com>
Subject: Re: [olug] Ubuntu 10.4 boot question
To: "Omaha Linux User Group" <olug at olug.org>
Date: Monday, July 12, 2010, 12:50 PM

On linux, it's as simple as:
dd if=/dev/hda of=/home/joe/boot.mbr bs=512 count=1

But that's if you haven't reinstalled windows already.

On Mon, Jul 12, 2010 at 12:34, Joe Gulizia <jrguliz at yahoo.com> wrote:
> How do I find the MBR on
 Windows?
>
> Googling.....
>
> --- On Mon, 7/12/10, Jordan Fox <vmifox at gmail.com> wrote:
>
> From: Jordan Fox <vmifox at gmail.com>
> Subject: Re: [olug] Ubuntu 10.4 boot question
> To: "Omaha Linux User Group" <olug at olug.org>
> Date: Monday, July 12, 2010, 11:20 AM
>
> yeah, he's telling you to do a backup of the partition and existing
> MBR before overwriting it.  Always good advice so you can restore it
> with a liveCD if something goes wrong.
>
> Jordan
>
> On Mon, Jul 12, 2010 at 11:06 AM, Joe Gulizia <jrguliz at yahoo.com> wrote:
>> Yes boot is on a separate partition.  Do you mean before re-installing the boot partition?
>>
>> Joe
>>
>> --- On Mon, 7/12/10, Kevin <sharpestmarble at gmail.com> wrote:
>>
>> From: Kevin <sharpestmarble at gmail.com>
>> Subject: Re: [olug] Ubuntu 10.4 boot question
>> To: "Omaha Linux User Group" <olug at olug.org>
>> Date: Monday, July 12, 2010, 7:57 AM
>>
>> Do you have /boot on a separate partition? If you do, then copy off
>> the whole /boot partition using dd. Also make sure to copy
 off the
>> MBR.
>>
>> On Mon, Jul 12, 2010 at 05:43, Joe Gulizia <jrguliz at yahoo.com> wrote:
>>> I have an Ubuntu 10.4 live disk.  GRUB is not displaying on my machine, which was set up to dual boot.  I had to re-install Windows because it wasn't getting to a login prompt.
>>> I have one drive that has Windows XP Pro (hda1 if  you will) -- the other drive has the whole Ubuntu 10.4 on it.  I have several partitions set up already.
>>> Can I start and install and replace the / and boot partitions without loosing data OR should I boot into live mode and copy GRUB from the live disk?  If I do the latter, should I be looking in the /etc directory.
>>> I definitely do not want to lose the data (/home) on my current system.
>>> Thanks in advance.Joe
>>>
 PS  I also have access to a couple versions of knoppix disks.
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> OLUG mailing list
>>> OLUG at olug.org
>>> https://lists.olug.org/mailman/listinfo/olug
>>>
>> _______________________________________________
>> OLUG mailing list
>> OLUG at olug.org
>> https://lists.olug.org/mailman/listinfo/olug
>>
>>
>>
>>
>> _______________________________________________
>> OLUG mailing list
>> OLUG at olug.org
>> https://lists.olug.org/mailman/listinfo/olug
>>
>
>
>
> --
> "Do not be anxious about anything, but in everything, by prayer and
> petition, with thanksgiving, present your requests to God.  And the
> peace of God, which transcends all understanding, will guard your
> hearts and minds in Christ Jesus."  Phil 4:6-7
>
> "The shortest distance between a problem and a solution is the
> distance between your knees and the floor."  Anonymous
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> https://lists.olug.org/mailman/listinfo/olug
>
>
>
>
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> https://lists.olug.org/mailman/listinfo/olug
>
_______________________________________________
OLUG mailing list
OLUG at olug.org
https://lists.olug.org/mailman/listinfo/olug



      


More information about the OLUG mailing list