[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Edit grub to boot different partition of ubuntu?

From: J Fields
Subject: Re: Edit grub to boot different partition of ubuntu?
Date: Mon, 7 Mar 2011 14:43:15 -0800 (PST)

So now I have two UUIDs that are the same:
/boot/grub# blkid
/dev/sda2: LABEL="SQ004585V03" UUID="4A90D31E90D30EF7" TYPE="ntfs" 
/dev/sda4: UUID="85251b80-f37e-4576-832b-fd73013eddbe" SEC_TYPE="ext2" 
/dev/sda5: UUID="85251b80-f37e-4576-832b-fd73013eddbe" TYPE="ext3" 
/dev/sda6: UUID="cd3cc320-b49a-4acd-aa37-ae946b5395c3" TYPE="swap"

Another fellow recommended using:
Change UUID see also man pages:
sudo tune2fs /dev/sdaX -U numbergeneratedbyuuidgen
sudo tune2fs -U random /dev/sdaX

I guess I could upgrade to grub2, but wonder if that would help 
get the partition stuff working...

----- Original Message ----
> From: Felix Miata <address@hidden>
> To: address@hidden
> Sent: Thu, February 3, 2011 2:57:55 PM
> Subject: Re: Edit grub to boot different partition of ubuntu?
> On 2011/02/03 13:04 (GMT-0800) J Fields composed:
> > So, I'm dual boot  with Vista(TM) and UBUNTU(tm) and ran out of space on 
> >  partition:
> Dual boot is booting from a choice of exactly two operating  systems from the 
>same partition. Multi boot is booting any number of operating  systems greater 
>than one from any number of separate partitions.
> > I  booted Ubuntu 10.04LTS live CD and shrank the VISTA.
> Next time use the  operating system's own shrinking tool. The results from 
>Vista's built in resizer  are generally exactly what you need.
> > It would NOT let me grow the  extended partition???
> Maybe because it would have killed the existing  install on sda5, which would 
>have become sda6 if a new logical had been created  in between. Such a process 
>is better left to experts.
> > So now I  have:
> > sda1 ntfs  /media/TOSHIBA_SYSTEM_VOLUME  1.46GB
> >  sda2 ntfs  /media/SQ004588V03           88GB
> > sda4 ext3     THIS IS MY NEW PARTITION    15GB
> > sda3 extended
> > sda5 ext3  /    THIS IS MY OLD  UBUNTU partition  6GB
> > sda6  linux swap                                                           
> > Then I used gparted on live CD to copy  files from old partitin sda5 to 
> > But grub still boot to old  partitiion.
> Copying files has no effect WRT what needed to be done. It's  the old one 
> that 
>was and remains configured.
> > How do I change grub to  work?
> Assuming the files were indeed correctly and completely copied,  Grub either 
>needs to be installed to sda4, or if already installed to the MBR,  
>to use sda4 instead of sda5 for its files and config home. You  could do that 
>either by booting sda5 or booting the CD, chrooting to sda4 (if  it's 
>update Grub's config to point to sda4 (hd0,3) instead of sda5  (hd0,4), then 
>running update-grub to actually install it to sda4.
> > Is  it grub or grub2?
> > /boot/grub$ ls
> > default      e2fs_stage1_5  grubenv             jfs_stage1_5  menu.lst~
> > minix_stage1_5     stage1   xfs_stage1_5
> >  fat_stage1_5    installed-version  menu.lst
> > menu.lst.110201   reiserfs_stage1_5  stage2
> Menu.lst is used by Grub Legacy (1). Grub  2 uses grub.cfg. Thus, your 
>installed Grub is Grub 1.
> -- "How much better to  get wisdom than gold, to choose
> understanding rather than silver." Proverbs  16:16 NKJV
>  Team OS/2 ** Reg. Linux User #211409
> Felix Miata   ***
> _______________________________________________
> Help-grub  mailing list
> address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]